smeserver-openvpn-s2s/root/usr/lib/systemd/system/openvpn-s2s.service

17 lines
304 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=OpenVPN Server to Server
After=network.service
[Service]
Type=oneshot
RemainAfterExit=yes
GuessMainPID=no
ExecStart=/usr/sbin/systemd/openvpn-s2s start
ExecStop=/usr/sbin/systemd/openvpn-s2s stop
ExecReload=/usr/sbin/systemd/openvpn-s2s reopen
[Install]
WantedBy=sme-server.target