From f6c28d1bbb8513f00ebb20dbf9fc21579acc87eb Mon Sep 17 00:00:00 2001 From: Oscar Rainford Date: Tue, 9 Aug 2016 14:50:45 +1000 Subject: [PATCH] Basic systemd service file. --- deb/vpncloud/vpncloud@.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 deb/vpncloud/vpncloud@.service diff --git a/deb/vpncloud/vpncloud@.service b/deb/vpncloud/vpncloud@.service new file mode 100644 index 0000000..a5cd820 --- /dev/null +++ b/deb/vpncloud/vpncloud@.service @@ -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