ansible-ffrgb/roles/fastd/files/fastd@.service

15 lines
414 B
SYSTEMD
Raw Normal View History

2017-11-09 21:21:19 +01:00
[Unit]
Description=Fast and Secure Tunnelling Daemon (connection %I)
After=network.target
[Service]
Type=notify
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