mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 21:57:00 +01:00
14 lines
282 B
Text
14 lines
282 B
Text
|
|
[Unit]
|
||
|
|
Description=PeerVPN network service
|
||
|
|
Wants=network-online.target
|
||
|
|
After=network-online.target
|
||
|
|
ConditionPathExists=/etc/peervpn/peervpn.conf
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
ExecStart={{peervpn_dest}}/peervpn /etc/peervpn/peervpn.conf
|
||
|
|
Restart=always
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|