1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Remove --User param from initialization since rc(8) uses su(1) when a var

${name}_user is defined (su -m user). When --User param is defined in this
  scenario, tor don't start because when you use --User param you must to start
  it with root user.

PR:		ports/129253
Submitted by:	garga
Approved by:	miwi (maintainer)
This commit is contained in:
Renato Botelho 2008-11-28 14:45:59 +00:00
parent a930b98986
commit f81d326312
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223492
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= tor
DISTVERSION= 0.2.0.32
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security net
MASTER_SITES= http://www.torproject.org/dist/ \
http://tor.cypherpunks.at/dist/ \

View File

@ -37,7 +37,7 @@ required_files=${tor_conf}
required_dirs=${tor_datadir}
pidfile=${tor_pidfile}
command="%%PREFIX%%/bin/${name}"
command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --User ${tor_user} --Log notice\ file\ ${tor_logfile}"
command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --Log notice\ file\ ${tor_logfile}"
extra_commands="log"
log_cmd="${name}_log"