From 4f9f68bc7df2a473fc694ab3e36618f53be78770 Mon Sep 17 00:00:00 2001 From: Sean Donner Date: Thu, 13 May 2010 00:38:51 +0200 Subject: network/znc: Updated for version 0.076 --- network/znc/rc.znc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'network/znc/rc.znc') 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 } -- cgit v1.2.3