From e21e35c1b6ed3c742c8566b9f8a0558bca34e13a Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Fri, 24 Apr 2015 14:50:32 +0000 Subject: [PATCH] rc script improvements It was not setting user to "nobody" correctly --- irc/anope/Makefile | 2 +- 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"