summaryrefslogtreecommitdiffstats
path: root/net-analyzer/netams/files/netams33.init
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
commit576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch)
tree7d54883f16cccc4cbd414398d7fec3c437b36b49 /net-analyzer/netams/files/netams33.init
parentfdd6b67a78a966f6a2131de8fe0e539316511083 (diff)
downloaddarklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip
Cleaned most of outdated stuff
Diffstat (limited to 'net-analyzer/netams/files/netams33.init')
-rw-r--r--net-analyzer/netams/files/netams33.init25
1 files changed, 0 insertions, 25 deletions
diff --git a/net-analyzer/netams/files/netams33.init b/net-analyzer/netams/files/netams33.init
deleted file mode 100644
index a4b56ad..0000000
--- a/net-analyzer/netams/files/netams33.init
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/runscript
-# $Id: netams-gentoo.sh,v 1.1 2005/06/07 20:20:37 anton Exp $
-# this is Linux Gentoo version
-
-start() {
- ebegin "Starting NeTAMS"
- if [ -f /etc/netams.cfg ]; then
- start-stop-daemon --start --quiet --background \
- --pid /var/run/netams.pid \
- --exec /usr/sbin/netams -- -f /etc/netams.cfg -l
- fi
- eend $? "Failed to start NeTAMS"
-}
-
-stop() {
- ebegin "Stopping netams"
- start-stop-daemon --stop --quiet --pid /var/run/netams.pid --exec /usr/sbin/netams
- eend $? "Failed to stop NeTAMS"
-}
-
-restart() {
- svc_stop
- sleep 3
- svc_start
-}