2016-11-25 06:29:12 +00:00
|
|
|
[Unit]
|
|
|
|
Description=VpnCloud network '%I'
|
2019-12-04 12:43:38 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2016-11-25 06:29:12 +00:00
|
|
|
|
|
|
|
[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
|