diff options
| author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-06-17 11:53:05 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-07-06 15:27:51 -0400 |
| commit | f195ff612ba17dcd1bd8003b43cd2ecf513710c1 (patch) | |
| tree | 86c051d001ae7cc93723fe8381fa65e6a87173f0 /meta-networking/recipes-protocols/quagga/files/ospf6d.service | |
| parent | 420ad67ab8e92a82875632b3e07fa46be4f5fae7 (diff) | |
| download | meta-openembedded-f195ff612ba17dcd1bd8003b43cd2ecf513710c1.tar.gz | |
quagga: bug fix
The bug is: after the service stopped,the pid file still exists.
So modidy the service files.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files/ospf6d.service')
| -rw-r--r-- | meta-networking/recipes-protocols/quagga/files/ospf6d.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/ospf6d.service b/meta-networking/recipes-protocols/quagga/files/ospf6d.service index 4b8ebf8026..a2e493b423 100644 --- a/meta-networking/recipes-protocols/quagga/files/ospf6d.service +++ b/meta-networking/recipes-protocols/quagga/files/ospf6d.service | |||
| @@ -7,7 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ospf6d.conf | |||
| 7 | [Service] | 7 | [Service] |
| 8 | Type=forking | 8 | Type=forking |
| 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
| 10 | ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f /etc/quagga/ospf6d.conf | 10 | PIDFile=@localstatedir@/run/quagga/ospf6d.pid |
| 11 | ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f @SYSCONFDIR@/quagga/ospf6d.conf | ||
| 12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ospf6d.pid | ||
| 11 | Restart=on-abort | 13 | Restart=on-abort |
| 12 | 14 | ||
| 13 | [Install] | 15 | [Install] |
