diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
commit | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch) | |
tree | 5a4ac448a3b288b731c24d947e0ce52df3cab07b /net-analyzer/pnp4nagios/files/npcd | |
parent | 8187a741807f3e9a9e26304973cf18087dcf2560 (diff) |
gentoo resync : 23.06.2018
Diffstat (limited to 'net-analyzer/pnp4nagios/files/npcd')
-rw-r--r-- | net-analyzer/pnp4nagios/files/npcd | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net-analyzer/pnp4nagios/files/npcd b/net-analyzer/pnp4nagios/files/npcd deleted file mode 100644 index 9ae67362d645..000000000000 --- a/net-analyzer/pnp4nagios/files/npcd +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -opts="${opts} reload" - -depend() { - need net -} - -start() { - ebegin "Starting npcd" - start-stop-daemon --start --exec /usr/bin/npcd \ - -- -f /etc/pnp/npcd.cfg \ - -d - eend $? "Failed to Start npcd" -} - -stop() { - ebegin "Stopping npcd" - start-stop-daemon --stop --quiet -n npcd - eend $? "Failed to Stop npcd" -} - -reload() { - ebegin "Reloading npcd" - kill -HUP `pgrep npcd` - eend $? "Failed to reload npcd" -} - -restart() { - ebegin "Restarting npcd" - svc_stop - svc_start - eend $? "Failed to Restart npcd" -} |