17 lines
304 B
SYSTEMD
17 lines
304 B
SYSTEMD
![]() |
[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
|
||
|
|