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/files | |
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/files')
-rw-r--r-- | sys-apps/smartmontools/files/smartd.rc | 12 |
1 files changed, 6 insertions, 6 deletions
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 $? } |