mirror of
https://github.com/neocturne/fastd.git
synced 2025-05-10 19:05:08 +02:00
Add example systemd unit
This commit is contained in:
parent
4d8a5e4160
commit
cd8ab035e6
1 changed files with 11 additions and 0 deletions
11
examples/fastd@.service
Normal file
11
examples/fastd@.service
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue