- Use -u ${user} option to bitlbee instead of su in rc.d script
PR: ports/138268 Submitted by: garga
This commit is contained in:
parent
ed9ccb899b
commit
749781186c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241325
@ -28,7 +28,7 @@ start_cmd="bitlbee_start"
|
||||
bitlbee_start()
|
||||
{
|
||||
echo "Starting ${name}."
|
||||
su -m ${bitlbee_user} -c "${command} -D -c ${bitlbee_config} ${bitlbee_flags}"
|
||||
${command} -D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user