feat: add openfortivpn role
This commit is contained in:
parent
2a7efd6472
commit
4801f7bd38
3 changed files with 53 additions and 0 deletions
18
ansible/templates/systemd/system/openfortivpn.service
Normal file
18
ansible/templates/systemd/system/openfortivpn.service
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=OpenFortiVPN for %I
|
||||
After=network-online.target
|
||||
Wants=network-online.target systemd-networkd-wait-online.service
|
||||
Documentation=man:openfortivpn(1)
|
||||
Documentation=https://github.com/adrienverge/openfortivpn#readme
|
||||
Documentation=https://github.com/adrienverge/openfortivpn/wiki
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
PrivateTmp=true
|
||||
ExecStart=/usr/bin/openfortivpn -c /etc/openfortivpn/%I.conf
|
||||
Restart=on-failure
|
||||
OOMScoreAdjust=-100
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue