diff options
author | 2010-03-29 15:05:48 +0000 | |
---|---|---|
committer | 2010-03-29 15:05:48 +0000 | |
commit | a4b3477101bba57375d8736e2e4b31cdb193aff4 (patch) | |
tree | d1b90373239fa256dbeec55b6a83b9c3fd56c432 /net-analyzer/smokeping/files | |
parent | Fix debug usage (diff) | |
download | gentoo-2-a4b3477101bba57375d8736e2e4b31cdb193aff4.tar.gz gentoo-2-a4b3477101bba57375d8736e2e4b31cdb193aff4.tar.bz2 gentoo-2-a4b3477101bba57375d8736e2e4b31cdb193aff4.zip |
Drop bundled libs and use in-tree perl modules where possible, bug #260170, thank all who helped there. Add reload option to init script, bug #259370, thank Arturas for suggestion.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/smokeping/files')
-rw-r--r-- | net-analyzer/smokeping/files/smokeping.init.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-analyzer/smokeping/files/smokeping.init.1 b/net-analyzer/smokeping/files/smokeping.init.1 index 118348fb0605..0222964c6ee9 100644 --- a/net-analyzer/smokeping/files/smokeping.init.1 +++ b/net-analyzer/smokeping/files/smokeping.init.1 @@ -2,7 +2,7 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -opts="${opts} dump restore" +opts="${opts} dump reload restore" depend() { need net @@ -36,6 +36,12 @@ stop() { eend $? } +reload() { + ebegin "Reloading smokeping" + /usr/bin/smokeping --reload 1>/dev/null 2>&1 + eend $? +} + dump() { ebegin "Dumping smokeping rrd files to XML for backup or upgrade use" if service_started "${myservice}" ; then |