Custom peervpn role

This commit is contained in:
Paul-Henri Froidmont 2018-07-31 02:33:56 +02:00
parent bc0f0c4894
commit fbab1d084a
22 changed files with 1162 additions and 13 deletions

View file

@ -0,0 +1,13 @@
[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