monakhos/ansible/templates/systemd/system/openfortivpn.service

19 lines
472 B
SYSTEMD
Raw Normal View History

2024-07-03 16:02:43 +00:00
[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