diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 12:58:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 12:58:52 +0000 |
commit | 234307f8126dc961140c94d1a28b0df9c247a624 (patch) | |
tree | 13fcc8ded4b304a86da9c7f546d4201312824cfa | |
parent | 3c7c065b9a7166a20e82fdbd884152d73052c717 (diff) | |
download | aports-234307f8126dc961140c94d1a28b0df9c247a624.tar.bz2 aports-234307f8126dc961140c94d1a28b0df9c247a624.tar.xz |
main/sysklogd: replace opts in init.d script
ref #943
-rw-r--r-- | main/sysklogd/APKBUILD | 2 | ||||
-rw-r--r-- | main/sysklogd/sysklogd.initd | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/sysklogd/APKBUILD b/main/sysklogd/APKBUILD index 17772c461d..13863564b4 100644 --- a/main/sysklogd/APKBUILD +++ b/main/sysklogd/APKBUILD @@ -58,7 +58,7 @@ package() { md5sums="e053094e8103165f98ddafe828f6ae4b sysklogd-1.5.tar.gz 6bc1d1c65076b104a8f78d0fb4f21db7 sysklogd.logrotate dcda8ba997e79a90fdf4ab61f6e5a42b sysklogd.daily -1ea1768fbfc6165e3a73490d98d47799 sysklogd.initd +1b75dea0bac3d35c3d3e9854ab70c057 sysklogd.initd e25d7b583b7e4bd8be503b89e1771e90 sysklogd.confd 3b7ba3aa6519f96f11165a7d5900a8b1 sysklogd-1.4.2-caen-owl-klogd-drop-root.diff 4715e1dd2deb7a9ac137e004210e3154 sysklogd-1.4.2-caen-owl-syslogd-bind.diff diff --git a/main/sysklogd/sysklogd.initd b/main/sysklogd/sysklogd.initd index 96882b8d14..429f6391c7 100644 --- a/main/sysklogd/sysklogd.initd +++ b/main/sysklogd/sysklogd.initd @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/files/sysklogd.rc6,v 1.12 2007/05/01 12:49:04 uberlord Exp $ -opts="reload" +extra_started_commands="reload" depend() { need clock hostname localmount @@ -71,9 +71,9 @@ reload() { ebegin "Reloading configuration" - start-stop-daemon --stop --oknodo --signal HUP --pidfile /var/run/syslogd.pid + start-stop-daemon --stop --signal HUP --pidfile /var/run/syslogd.pid ret=$((${ret} + $?)) - start-stop-daemon --stop --oknodo --signal USR1 --pidfile /var/run/klogd.pid + start-stop-daemon --stop --signal USR1 --pidfile /var/run/klogd.pid ret=$((${ret} + $?)) eend ${ret} |