diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-12-23 22:35:31 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-12-23 22:35:31 +0100 |
commit | cd8ab035e605c5d8f8105861b2818a54a21eb311 (patch) | |
tree | 9e99170c8a69a162faea3231c48faaea531aed9f | |
parent | 4d8a5e4160918f72eacec659fd26091587a94ea6 (diff) | |
download | fastd-cd8ab035e605c5d8f8105861b2818a54a21eb311.tar fastd-cd8ab035e605c5d8f8105861b2818a54a21eb311.zip |
Add example systemd unit
-rw-r--r-- | examples/fastd@.service | 11 |
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 |