summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-12-23 22:35:31 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-12-23 22:35:31 +0100
commitcd8ab035e605c5d8f8105861b2818a54a21eb311 (patch)
tree9e99170c8a69a162faea3231c48faaea531aed9f /examples
parent4d8a5e4160918f72eacec659fd26091587a94ea6 (diff)
downloadfastd-cd8ab035e605c5d8f8105861b2818a54a21eb311.tar
fastd-cd8ab035e605c5d8f8105861b2818a54a21eb311.zip
Add example systemd unit
Diffstat (limited to 'examples')
-rw-r--r--examples/fastd@.service11
1 files changed, 11 insertions, 0 deletions
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