svn commit: r384651 - in head/irc/anope: . files
Mark Felder
feld at FreeBSD.org
Fri Apr 24 14:50:33 UTC 2015
Author: feld
Date: Fri Apr 24 14:50:32 2015
New Revision: 384651
URL: https://svnweb.freebsd.org/changeset/ports/384651
Log:
rc script improvements
It was not setting user to "nobody" correctly
Modified:
head/irc/anope/Makefile
head/irc/anope/files/anope.in
Modified: head/irc/anope/Makefile
==============================================================================
--- head/irc/anope/Makefile Fri Apr 24 14:36:57 2015 (r384650)
+++ head/irc/anope/Makefile Fri Apr 24 14:50:32 2015 (r384651)
@@ -3,7 +3,7 @@
PORTNAME= anope
PORTVERSION= 2.0.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= irc
MAINTAINER= feld at FreeBSD.org
Modified: head/irc/anope/files/anope.in
==============================================================================
--- head/irc/anope/files/anope.in Fri Apr 24 14:36:57 2015 (r384650)
+++ head/irc/anope/files/anope.in Fri Apr 24 14:50:32 2015 (r384651)
@@ -19,10 +19,10 @@ rcvar=anope_enable
load_rc_config $name
-command=%%PREFIX%%/anope/bin/services
+: ${anope_enable:=NO}
+: ${anope_user:=nobody}
-anope_enable=${anope_enable:-"NO"}
-anope_user:=nobody
+command=%%PREFIX%%/anope/bin/services
pidfile=%%PREFIX%%/anope/data/services.pid
run_rc_command "$1"
More information about the svn-ports-head
mailing list