mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- Fix alternate user support
This commit is contained in:
parent
1c2716f959
commit
48ca57e0c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472971
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= hitch
|
||||
PORTVERSION= 1.4.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://hitch-tls.org/source/ \
|
||||
ZI
|
||||
|
@ -30,11 +30,11 @@ load_rc_config $name
|
||||
|
||||
: ${hitch_enable="NO"}
|
||||
: ${hitch_config="%%PREFIX%%/etc/hitch.conf"}
|
||||
: ${hitch_user:=nobody}
|
||||
: ${hitch_group:=nobody}
|
||||
: ${hitch_huser:=nobody}
|
||||
: ${hitch_hgroup:=nobody}
|
||||
|
||||
command="%%PREFIX%%/sbin/hitch"
|
||||
command_args="--daemon -u ${hitch_user} -g ${hitch_group} -s --config=${hitch_config}"
|
||||
command_args="--daemon -u ${hitch_huser} -g ${hitch_hgroup} -s --config=${hitch_config}"
|
||||
extra_commands=reload
|
||||
|
||||
required_files=${hitch_config}
|
||||
|
Loading…
Reference in New Issue
Block a user