aboutsummaryrefslogtreecommitdiff
path: root/network/znc/rc.znc
diff options
context:
space:
mode:
authorSean Donner <sean.donner at gmail dot com>2010-05-13 00:38:51 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:38:51 +0200
commit4f9f68bc7df2a473fc694ab3e36618f53be78770 (patch)
treeabe1afbe8285748836b0acad098b262aca8273a6 /network/znc/rc.znc
parent42be282add0d1d8597cd9fce499e6c3bababcb09 (diff)
network/znc: Updated for version 0.076
Diffstat (limited to 'network/znc/rc.znc')
-rw-r--r--network/znc/rc.znc5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/znc/rc.znc b/network/znc/rc.znc
index 85d58929ceb81..6fe3405415f06 100644
--- a/network/znc/rc.znc
+++ b/network/znc/rc.znc
@@ -4,7 +4,7 @@
# User account under which ZNC should run; only change this if you
# know what you are doing :-)
-ZNC_USER="_ZNC_USER_"
+ZNC_USER="@ZNC_USER@"
# First, a sanity check
if [[ ! -e /etc/znc/configs/znc.conf ]]; then
@@ -21,7 +21,8 @@ znc_start() {
echo "running, then remove the lock and try again."
return 1
else
- su - $ZNC_USER -c '/usr/bin/znc --datadir /etc/znc' && touch /var/lock/znc
+ su - $ZNC_USER -c '/usr/bin/znc --datadir /etc/znc'
+ touch /var/lock/znc
return 0
fi
}