diff options
author | feld <feld@FreeBSD.org> | 2015-04-24 22:50:32 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-04-24 22:50:32 +0800 |
commit | 867494d3e94cbac4e4e5d985615385d490bc2ed7 (patch) | |
tree | f7fe3425d427d6d469508f5626925e62349aee90 | |
parent | 2e1d5bbe30919f96db694c314d4a087d511e771f (diff) | |
download | freebsd-ports-gnome-867494d3e94cbac4e4e5d985615385d490bc2ed7.tar.gz freebsd-ports-gnome-867494d3e94cbac4e4e5d985615385d490bc2ed7.tar.zst freebsd-ports-gnome-867494d3e94cbac4e4e5d985615385d490bc2ed7.zip |
rc script improvements
It was not setting user to "nobody" correctly
-rw-r--r-- | irc/anope/Makefile | 2 | ||||
-rw-r--r-- | irc/anope/files/anope.in | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/irc/anope/Makefile b/irc/anope/Makefile index dc517d07d204..8bd4a8f75b1c 100644 --- a/irc/anope/Makefile +++ b/irc/anope/Makefile @@ -3,7 +3,7 @@ PORTNAME= anope PORTVERSION= 2.0.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= irc MAINTAINER= feld@FreeBSD.org diff --git a/irc/anope/files/anope.in b/irc/anope/files/anope.in index 6638de7a68f2..212aa8ce6989 100644 --- a/irc/anope/files/anope.in +++ b/irc/anope/files/anope.in @@ -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" |