diff options
| author | Andrew Manison <amanison@anselsystems.com> | 2011-02-16 19:14:26 +0000 |
|---|---|---|
| committer | Andrew Manison <amanison@anselsystems.com> | 2011-02-16 19:14:26 +0000 |
| commit | 71e39ce025e46b17e9634cb8fdeec7af04f2f0fa (patch) | |
| tree | ab6569d59ab7f79ae8cb7c677658f9ba12854069 /testing/sircbot/sircbot.initd | |
| parent | 01fd4f6611dd2b61cd8ceee01b4a454d74bbbc51 (diff) | |
| parent | 692f71db5a7621fe29b255de3ef9ae973b74eacb (diff) | |
| download | aports-71e39ce025e46b17e9634cb8fdeec7af04f2f0fa.tar.bz2 aports-71e39ce025e46b17e9634cb8fdeec7af04f2f0fa.tar.xz | |
Merge branch 'master' of ssh://git.alpinelinux.org/gitroot/aports-amanison
Conflicts:
main/iaxmodem/APKBUILD
Diffstat (limited to 'testing/sircbot/sircbot.initd')
| -rw-r--r-- | testing/sircbot/sircbot.initd | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/sircbot/sircbot.initd b/testing/sircbot/sircbot.initd deleted file mode 100644 index 2e0a9c3302..0000000000 --- a/testing/sircbot/sircbot.initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript - -daemon=/usr/bin/sircbot -sircbot_user=${sircbot_user:-sircbot} -sircbot_group=${sircbot_group:-sircbot} -pidfile=/var/run/sircbot/sircbot.pid - -depends() { - need net - after firewall -} - -checkonfig() { - if [ -z "$sircbot_channels" ]; then - eerror "Please specify sircbot_channels in /etc/conf.d/sircbot" - return 1 - fi - return 0 -} - -start() { - checkconfig || return 1 - ebegin "Starting sircbot" - start-stop-daemon --start --user $sircbot_user --group $sircbot_group \ - --umask 0002 --pidfile "$pidfile" \ - --exec $daemon -- $sircbot_opts $sircbot_channels - eend $? -} - -stop() { - ebegin "Stopping sircbot" - start-stop-daemon --stop --pidfile "$pidfile" --exec $daemon - eend $? -} - |
