diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-03-10 16:06:42 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-11 00:12:55 -0800 |
commit | 9e20a2f41a1504217b5c1345e53dfe93380a1a09 (patch) | |
tree | f697442783b0fc0f03159bafaed82e4e97020fc9 /meta-networking/recipes-protocols/quagga/files/ripd.service | |
parent | f555f9d34f93118bb4dbe1ae45ba0657c585ee4f (diff) | |
download | meta-openembedded-contrib-9e20a2f41a1504217b5c1345e53dfe93380a1a09.tar.gz |
quagga: do not set PIDFile in service files
The systemd can not open the pid file because it is locked by quagga
daemon.
Fixes:
$ systemctl status ospf6d.service
Feb 25 05:53:26 intel-x86-64 systemd[1]: Starting OSPF routing daemon for IPv6...
Feb 25 05:53:26 intel-x86-64 systemd[1]: ospf6d.service: Can't open PID file /run/quagga/ospf6d.pid (yet?) after start: Operation not permitted
Feb 25 05:53:26 intel-x86-64 systemd[1]: Started OSPF routing daemon for IPv6.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files/ripd.service')
-rw-r--r-- | meta-networking/recipes-protocols/quagga/files/ripd.service | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/ripd.service b/meta-networking/recipes-protocols/quagga/files/ripd.service index 7af65ca8a3..2c824318a1 100644 --- a/meta-networking/recipes-protocols/quagga/files/ripd.service +++ b/meta-networking/recipes-protocols/quagga/files/ripd.service @@ -7,7 +7,6 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ripd.conf [Service] Type=forking EnvironmentFile=-@SYSCONFDIR@/default/quagga -PIDFile=/run/quagga/ripd.pid ExecStart=@SBINDIR@/ripd -d $ripd_options -f @SYSCONFDIR@/quagga/ripd.conf ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripd.pid Restart=on-abort |