projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389b7c1
)
* we mustn't use $UID
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 10 Feb 2010 19:35:32 +0000
(19:35 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 10 Feb 2010 19:35:32 +0000
(19:35 +0000)
webcit/debian/webcit.init
patch
|
blob
|
history
diff --git
a/webcit/debian/webcit.init
b/webcit/debian/webcit.init
index 575c3dac20d1fd7a2cfd81badbe5dec375997f9e..b99e24ca3c43ae157702675015618efbeabe86b7 100644
(file)
--- a/
webcit/debian/webcit.init
+++ b/
webcit/debian/webcit.init
@@
-26,7
+26,7
@@
SCRIPTNAME=/etc/init.d/webcit
SENDCOMMAND=/usr/sbin/sendcommand
DEFAULT=/etc/default/webcit
LOGDIR=/var/log/webcit/
-UID=`id -u nobody`
+
DROP_TO_
UID=`id -u nobody`
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
@@
-92,7
+92,7
@@
do_start()
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
- if $DAEMON -u $UID -D$PIDFILE.$1 \
+ if $DAEMON -u $
DROP_TO_
UID -D$PIDFILE.$1 \
-p$@ -t$LOGDIR/access.${1}.log $4; then
return 0
else