diff options
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 } |