aboutsummaryrefslogtreecommitdiffstats
path: root/main/sircbot/sircbot.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-08-01 18:18:34 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-01 18:19:56 +0200
commit304d76ab2d7c844dfc7ff2ae81c3651a8a6570a9 (patch)
tree1ba72a59086ee0f777af1d5611b021e83c8069ec /main/sircbot/sircbot.initd
parent0884190918f47872a45bcf231b9b04db18a96bd6 (diff)
downloadaports-304d76ab2d7c844dfc7ff2ae81c3651a8a6570a9.tar.gz
aports-304d76ab2d7c844dfc7ff2ae81c3651a8a6570a9.tar.bz2
aports-304d76ab2d7c844dfc7ff2ae81c3651a8a6570a9.tar.xz
main/sircbot: add simple hack to allow nickserv identification
Diffstat (limited to 'main/sircbot/sircbot.initd')
-rw-r--r--main/sircbot/sircbot.initd5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/sircbot/sircbot.initd b/main/sircbot/sircbot.initd
index f8923ba27a..502ac09433 100644
--- a/main/sircbot/sircbot.initd
+++ b/main/sircbot/sircbot.initd
@@ -24,7 +24,10 @@ start() {
ebegin "Starting sircbot"
start-stop-daemon --start --user $sircbot_user --group $sircbot_group \
--umask 0002 --pidfile "$pidfile" \
- --exec $daemon -- $sircbot_opts $sircbot_channels
+ --exec $daemon -- \
+ $sircbot_opts \
+ "${nickserv_pass:+-c "nickserv :identify $nickserv_pass"}" \
+ $sircbot_channels
eend $?
}