2016-11-25 06:29:12 +00:00
|
|
|
[Unit]
|
|
|
|
Description=VpnCloud network '%I'
|
|
|
|
Before=systemd-user-sessions.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2019-02-16 13:36:29 +00: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 06:29:12 +00:00
|
|
|
WorkingDirectory=/etc/vpncloud
|
2019-02-16 13:36:29 +00:00
|
|
|
PIDFile=/run/vpncloud-%i.pid
|
2016-11-25 06:29:12 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|