Summary: | net-analyzer/symon - init scripts use opts --oknodo /var/run | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torbjörn Lönnemark <tobbez> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 332633, 377843, 381895 |
Description
Torbjörn Lönnemark
2014-06-22 13:32:01 UTC
*** Bug 514456 has been marked as a duplicate of this bug. *** Bug 514456 was marked as a duplicate of this bug, even though they were about different issues. The following patch fixes both the issues. --- files/symon-init.d 2012-09-13 09:31:22.000000000 +0200 +++ files/symon-init.d 2014-06-24 02:06:17.000000000 +0200 @@ -3,7 +3,7 @@ # Distributed under the terms of the 2-clause BSD license # $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/files/symon-init.d,v 1.3 2012/09/13 07:07:53 pinkbyte Exp $ -opts="${opts} reload" +extra_started_commands="reload" depend() { after bootmisc @@ -13,8 +13,8 @@ reload() { ebegin "Reloading symon" - start-stop-daemon --stop --pidfile /var/run/symon.pid \ - --exec /usr/sbin/symon --oknodo --signal HUP + start-stop-daemon --pidfile /var/run/symon.pid --exec /usr/sbin/symon \ + --signal HUP eend $? } --- files/symux-init.d 2012-09-13 09:31:22.000000000 +0200 +++ files/symux-init.d 2014-06-24 02:07:14.000000000 +0200 @@ -3,7 +3,7 @@ # Distributed under the terms of the 2-clause BSD license # $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/files/symux-init.d,v 1.3 2012/09/13 07:07:53 pinkbyte Exp $ -opts="${opts} reload" +extra_started_commands="reload" depend() { after bootmisc @@ -13,8 +13,8 @@ reload() { ebegin "Reloading symux" - start-stop-daemon --stop --pidfile /var/run/symux.pid \ - --exec /usr/sbin/symux --oknodo --signal HUP + start-stop-daemon --pidfile /var/run/symux.pid --exec /usr/sbin/symux \ + --signal HUP eend $? } (In reply to Torbjörn Lönnemark from comment #2) > Bug 514456 was marked as a duplicate of this bug, even though they were > about different issues. There is a third issue, which is that it uses /var/run instead of /run. I batched them together because they all pertain to the same files. Fixed in -r1. Thanks for the patch! |