diff options
Diffstat (limited to 'net-misc/peervpn/files/peervpn.service')
-rw-r--r-- | net-misc/peervpn/files/peervpn.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/peervpn/files/peervpn.service b/net-misc/peervpn/files/peervpn.service new file mode 100644 index 000000000000..13c5310f517b --- /dev/null +++ b/net-misc/peervpn/files/peervpn.service @@ -0,0 +1,12 @@ +[Unit] +Description=peervpn server +Requires=network-online.target +After=network-online.target + +[Service] +Environment=PEERVPN_OPTS="/etc/peervpn/peervpn.conf" +ExecStart=/usr/sbin/peervpn $PEERVPN_OPTS +Restart=on-failure + +[Install] +WantedBy=multi-user.target |