Update systemd unit file to install /var/run/fw-daemon/ on start

shw_dev
dma 7 years ago
parent 5a755a04e8
commit 58b7a4f6a9

@ -1,10 +1,11 @@
[Unit] [Unit]
Documentation=https://github.com/subgraph/fw-daemon
Description=Subgraph Firewall Daemon Description=Subgraph Firewall Daemon
[Service] [Service]
Environment="GODEBUG=cgocheck=0" Environment="GODEBUG=cgocheck=0"
ExecStartPre=/usr/bin/install -d /var/run/fw-daemon
ExecStart=/usr/sbin/fw-daemon ExecStart=/usr/sbin/fw-daemon
ExecReload=/bin/kill -HUP ${MAINPID}
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

Loading…
Cancel
Save