diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-09-14 10:32:46 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-09-14 10:32:46 +0000 |
commit | 9bb6e7510ed6db9577d54a280116624c5774bf5b (patch) | |
tree | 4c807e40184ae35905315d796a0ba4a210744a62 /sys-apps/smartmontools | |
parent | Stable for sparc, wrt bug #484614 (diff) | |
download | gentoo-2-9bb6e7510ed6db9577d54a280116624c5774bf5b.tar.gz gentoo-2-9bb6e7510ed6db9577d54a280116624c5774bf5b.tar.bz2 gentoo-2-9bb6e7510ed6db9577d54a280116624c5774bf5b.zip |
Use /run instead of /var/run. Bug #476242
(Portage version: 2.2.4/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r-- | sys-apps/smartmontools/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/smartd.rc | 12 |
2 files changed, 10 insertions, 7 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog index f0e1f342d766..0e0bb79a645e 100644 --- a/sys-apps/smartmontools/ChangeLog +++ b/sys-apps/smartmontools/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/smartmontools # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.132 2013/08/11 16:37:40 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.133 2013/09/14 10:32:46 hwoarang Exp $ + + 14 Sep 2013; Markos Chandras <hwoarang@gentoo.org> files/smartd.rc: + Use /run instead of /var/run. Bug #476242 11 Aug 2013; Sven Vermeulen <swift@gentoo.org> smartmontools-6.1.ebuild, smartmontools-6.2.ebuild, smartmontools-9999.ebuild: diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc index 131a7d45f98b..c3702030eeb3 100644 --- a/sys-apps/smartmontools/files/smartd.rc +++ b/sys-apps/smartmontools/files/smartd.rc @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.9 2011/09/15 07:58:50 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.10 2013/09/14 10:32:46 hwoarang Exp $ depend() { need localmount @@ -24,20 +24,20 @@ start() { ebegin "Starting S.M.A.R.T. monitoring daemon" start-stop-daemon --start --exec /usr/sbin/smartd \ - --pidfile /var/run/smartd.pid \ - -- -p /var/run/smartd.pid ${SMARTD_OPTS} + --pidfile /run/smartd.pid \ + -- -p /run/smartd.pid ${SMARTD_OPTS} eend $? } stop() { ebegin "Stopping S.M.A.R.T. monitoring daemon" start-stop-daemon --stop --exec /usr/sbin/smartd \ - --pidfile /var/run/smartd.pid + --pidfile /run/smartd.pid eend $? } reload() { ebegin "Reloading configuration" - start-stop-daemon --signal HUP --pidfile /var/run/smartd.pid smartd + start-stop-daemon --signal HUP --pidfile /run/smartd.pid smartd eend $? } |