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

18 lines
472 B
Desktop File

[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