Basic systemd service file.

This commit is contained in:
Oscar Rainford 2016-08-09 14:50:45 +10:00 committed by GitHub
parent de6709853f
commit f6c28d1bbb
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=VPNCloud connection to %i
Before=systemd-user-sessions.service
[Service]
ExecStart=/usr/bin/vpncloud --config /etc/vpncloud/%i.yml
WorkingDirectory=/etc/vpncloud
[Install]
WantedBy=multi-user.target