1
0
mirror of https://github.com/dswd/vpncloud.git synced 2025-01-11 14:51:05 +00:00
vpncloud/assets/vpncloud@.service

13 lines
375 B
SYSTEMD
Raw Normal View History

2016-11-25 07:29:12 +01:00
[Unit]
Description=VpnCloud network '%I'
Before=systemd-user-sessions.service
[Service]
Type=forking
2019-02-16 14:36:29 +01:00
ExecStart=/usr/bin/vpncloud --config /etc/vpncloud/%i.net --daemon --log-file /var/log/vpncloud-%i.log --stats-file /var/log/vpncloud-%i.stats --pid-file /run/vpncloud-%i.pid
2016-11-25 07:29:12 +01:00
WorkingDirectory=/etc/vpncloud
2019-02-16 14:36:29 +01:00
PIDFile=/run/vpncloud-%i.pid
2016-11-25 07:29:12 +01:00
[Install]
WantedBy=multi-user.target