diff options
Diffstat (limited to 'irc/anope/files/anope.in')
-rw-r--r-- | irc/anope/files/anope.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/irc/anope/files/anope.in b/irc/anope/files/anope.in index f4b6aa18ac9a..6638de7a68f2 100644 --- a/irc/anope/files/anope.in +++ b/irc/anope/files/anope.in @@ -11,11 +11,6 @@ # Add the following line to /etc/rc.conf to enable anope: # anope_enable=YES # -# Also, to prevent running anope as root You may use -# anope_user="nobody" -# and -# anope_chdir="%%PREFIX%%/share/anope" -# . /etc/rc.subr @@ -24,8 +19,10 @@ rcvar=anope_enable load_rc_config $name -command=%%PREFIX%%/libexec/anope/services +command=%%PREFIX%%/anope/bin/services anope_enable=${anope_enable:-"NO"} +anope_user:=nobody +pidfile=%%PREFIX%%/anope/data/services.pid run_rc_command "$1" |