From 58b7a4f6a96d5d27cf53984553670bdb915ab98f Mon Sep 17 00:00:00 2001 From: dma Date: Sun, 10 Sep 2017 16:00:04 +0000 Subject: [PATCH] Update systemd unit file to install /var/run/fw-daemon/ on start --- sources/lib/systemd/system/fw-daemon.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/lib/systemd/system/fw-daemon.service b/sources/lib/systemd/system/fw-daemon.service index 730a0fd..0a9fba8 100644 --- a/sources/lib/systemd/system/fw-daemon.service +++ b/sources/lib/systemd/system/fw-daemon.service @@ -1,10 +1,11 @@ [Unit] +Documentation=https://github.com/subgraph/fw-daemon Description=Subgraph Firewall Daemon [Service] Environment="GODEBUG=cgocheck=0" +ExecStartPre=/usr/bin/install -d /var/run/fw-daemon ExecStart=/usr/sbin/fw-daemon -ExecReload=/bin/kill -HUP ${MAINPID} [Install] WantedBy=multi-user.target