From cd8ab035e605c5d8f8105861b2818a54a21eb311 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 23 Dec 2012 22:35:31 +0100 Subject: Add example systemd unit --- examples/fastd@.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/fastd@.service (limited to 'examples') diff --git a/examples/fastd@.service b/examples/fastd@.service new file mode 100644 index 0000000..b58bcaf --- /dev/null +++ b/examples/fastd@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Fastd and Secure Tunneling Daemon (connection %i) +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/fastd -c /etc/fastd/%i/fastd.conf --daemon +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3