summaryrefslogtreecommitdiffstats
path: root/build/build_quagga.sh
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-04-07 06:41:40 -0400
committerTim Rozet <trozet@redhat.com>2017-04-27 16:21:02 +0000
commit168e9e92a39d03b5455938dfa7269017602e99e8 (patch)
tree791695965e413fab4e658ebb0072f20449d5c637 /build/build_quagga.sh
parentc67baa84baf6e5d5d1b07c0b9468e2435d50a970 (diff)
Fixing zrpcd is not starting
JIRA: APEX-437 JIRA: APEX-448 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Change-Id: I91c1b3bef83c808166072e00c751d8fac3565b5f (cherry picked from commit d81cd2087be5edf5d2c0d98ad71a63360ae8511f)
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