diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-08 23:29:58 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-09 17:20:40 +0700 |
commit | 7d987a6a2d85432ef5ddff7372d9d4db4b8a6ab5 (patch) | |
tree | 303218087a3aa4a3fab554816a4f61d4e4858b93 /network/verm/rc.verm | |
parent | 6716ba8e5b4335d50aee74cae6a73ae8cd64b359 (diff) | |
download | slackbuilds-7d987a6a2d85432ef5ddff7372d9d4db4b8a6ab5.tar.gz |
network/verm: Removed (unused, no dependees).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/verm/rc.verm')
-rw-r--r-- | network/verm/rc.verm | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/network/verm/rc.verm b/network/verm/rc.verm deleted file mode 100644 index ca4895df18..0000000000 --- a/network/verm/rc.verm +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -PORT=${PORT:-3404} -LISTEN=${LISTEN:-localhost} -PIDDIR=/var/run/verm -LOGDIR=/var/log/verm -PIDFILE=$PIDDIR/verm.pid - -. /etc/rc.d/init.d/functions - -runuser() { - su "$@" -} - -verm_start() { - mkdir -p $PIDDIR $LOGDIR - chown -R verm:verm $PIDDIR $LOGDIR - action "Starting verm: " daemon --pidfile $PIDFILE --user verm "bash -c 'verm -port \"$PORT\" -listen \"$LISTEN\" >> $LOGDIR/verm.log 2>> $LOGDIR/verm_err.log & echo \$! > $PIDFILE'" -} - -verm_stop() { - action "Stopping verm: " killproc -p $PIDFILE "verm" -} - -verm_restart() { - verm_stop - verm_start -} - -case "$1" in -'start') - verm_start - ;; -'stop') - verm_stop - ;; -'restart') - verm_restart - ;; -*) - echo "usage $0 start|stop|restart" -esac |