1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 19:31:54 +00:00
openmptcprouter-vps/mlvpn@.service.in
Ycarus (Yannick Chabanois) f1c6047689 Track some untracked files
2019-12-31 15:38:01 +01:00

17 lines
352 B
SYSTEMD

[Unit]
Description=MLVPN connection to %i
PartOf=mlvpn.service
ReloadPropagatedFrom=mlvpn.service
[Service]
Type=notify
NotifyAccess=main
ExecStart=/usr/local/sbin/mlvpn --config /etc/mlvpn/%i.conf --name %i --user mlvpn --quiet
ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/etc/mlvpn
Restart=on-failure
[Install]
WantedBy=multi-user.target