diff --git a/extras/systemd/fwknopd.service b/extras/systemd/fwknopd.service new file mode 100644 index 00000000..d2e8c312 --- /dev/null +++ b/extras/systemd/fwknopd.service @@ -0,0 +1,12 @@ +[Unit] +Description=Firewall Knock Operator Daemon +After=network-online.target + +[Service] +Type=forking +PIDFile=/run/fwknop/fwknopd.pid +ExecStart=/usr/sbin/fwknopd +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/extras/systemd/fwknopd.tmpfiles.conf b/extras/systemd/fwknopd.tmpfiles.conf new file mode 100644 index 00000000..b7cb3856 --- /dev/null +++ b/extras/systemd/fwknopd.tmpfiles.conf @@ -0,0 +1 @@ +d /run/fwknop 0700 root root -