mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
rc script improvements
It was not setting user to "nobody" correctly
This commit is contained in:
parent
6b84bfce9d
commit
e21e35c1b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384651
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= anope
|
PORTNAME= anope
|
||||||
PORTVERSION= 2.0.2
|
PORTVERSION= 2.0.2
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= irc
|
CATEGORIES= irc
|
||||||
|
|
||||||
MAINTAINER= feld@FreeBSD.org
|
MAINTAINER= feld@FreeBSD.org
|
||||||
|
|
|
@ -19,10 +19,10 @@ rcvar=anope_enable
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
command=%%PREFIX%%/anope/bin/services
|
: ${anope_enable:=NO}
|
||||||
|
: ${anope_user:=nobody}
|
||||||
|
|
||||||
anope_enable=${anope_enable:-"NO"}
|
command=%%PREFIX%%/anope/bin/services
|
||||||
anope_user:=nobody
|
|
||||||
pidfile=%%PREFIX%%/anope/data/services.pid
|
pidfile=%%PREFIX%%/anope/data/services.pid
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue