2017-11-09 21:21:19 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Fast and Secure Tunnelling Daemon (connection %I)
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2019-03-27 13:31:38 +01:00
|
|
|
ExecStartPre=/bin/mkdir -p /run/fastd
|
|
|
|
ExecStartPre=/bin/chown -R fastd:fastd /run/fastd
|
2017-11-09 21:21:19 +01:00
|
|
|
ExecStart=/usr/bin/fastd --syslog-level info --syslog-ident fastd@%I -c /etc/fastd/%I/fastd.conf
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
ExecStopPost=/bin/rm -f /run/fastd-%I.sock
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|