summaryrefslogtreecommitdiffstats
path: root/build/build_quagga.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/build_quagga.sh')
-rwxr-xr-xbuild/build_quagga.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/build_quagga.sh b/build/build_quagga.sh
index 7d298e57..a682b54e 100755
--- a/build/build_quagga.sh
+++ b/build/build_quagga.sh
@@ -180,9 +180,10 @@ After=network.service
[Service]
ExecStart=/usr/sbin/zrpcd
-Type=forking
+Type=simple
+ExecStartPre=-/usr/bin/mkdir /var/run/quagga/
+ExecStartPre=/usr/bin/chown -R quagga:quagga /var/run/quagga/
PIDFile=/var/run/zrpcd.pid
-Restart=on-failure
[Install]
WantedBy=default.target