summaryrefslogtreecommitdiffstats
path: root/doc/examples/fastd@.service
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-08 22:40:27 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-08 22:40:27 +0200
commit2eb0efacac35c2f8829d64f9293030f239bf79f1 (patch)
tree0658f781c114faa70200a0024cbcec49d41b5f90 /doc/examples/fastd@.service
parent80b1412c65a7a7e209c66684cf78e2ab13cfd5e6 (diff)
downloadfastd-2eb0efacac35c2f8829d64f9293030f239bf79f1.tar
fastd-2eb0efacac35c2f8829d64f9293030f239bf79f1.zip
Move systemd unit to a new doc/examples dir, add OpenWrt example config and init script
Diffstat (limited to 'doc/examples/fastd@.service')
-rw-r--r--doc/examples/fastd@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/examples/fastd@.service b/doc/examples/fastd@.service
new file mode 100644
index 0000000..63cc941
--- /dev/null
+++ b/doc/examples/fastd@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fast and Secure Tunnelling Daemon (connection %I)
+After=network.target
+
+[Service]
+Type=notify
+ExecStart=/usr/bin/fastd --syslog-level info --syslog-ident fastd@%I -c /etc/fastd/%I/fastd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target