diff options
author | Sean Donner <sean.donner at gmail dot com> | 2010-05-13 00:38:51 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:38:51 +0200 |
commit | 4f9f68bc7df2a473fc694ab3e36618f53be78770 (patch) | |
tree | abe1afbe8285748836b0acad098b262aca8273a6 /network/znc/rc.znc | |
parent | 42be282add0d1d8597cd9fce499e6c3bababcb09 (diff) | |
download | slackbuilds-4f9f68bc7df2a473fc694ab3e36618f53be78770.tar.gz |
network/znc: Updated for version 0.076
Diffstat (limited to 'network/znc/rc.znc')
-rw-r--r-- | network/znc/rc.znc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/znc/rc.znc b/network/znc/rc.znc index 85d58929ce..6fe3405415 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 } |