View Issue Details

IDProjectCategoryView StatusLast Update
0002500SOGoPackaging (Debian)public2015-01-09 21:04
Reportermichaelstaehle Assigned Toludovic  
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Platformx86_amd64OSdebian 6 
Product Version2.1.1 
Summary0002500: [sogod] sogod is not backgrounding
Description

/etc/init.d/sogo restart

didn't go in Background -> "-b" is missing

I think it is not a problem from this version. It was fixed on our server long time ago.

Additional Information

/etc/init.d# diff sogo.dpkg-dist sogo
70c70
< if ! start-stop-daemon -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS

  if ! start-stop-daemon -b -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS

88c88
< start-stop-daemon -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS

  start-stop-daemon -b -c $USER --quiet --start --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
TagsNo tags attached.

Activities

ludovic

ludovic

2015-01-09 21:03

reporter   ~0008042

The application does background properly:

su - sogo
sogo@sogo:~$ /usr/local/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo@sogo:~$ echo $?
0
sogo@sogo:~$ ps aux | grep sogod
sogo 14936 0.3 0.7 258764 16024 pts/2 S 16:02 0:00 /usr/local/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo 14937 0.0 0.8 264828 17076 ? Ss 16:02 0:00 /usr/local/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log

ludovic

ludovic

2015-01-09 21:04

reporter   ~0008043

Make sure you don't have WONoDetach = YES in your config.

Issue History

Date Modified Username Field Change
2013-11-20 10:54 michaelstaehle New Issue
2015-01-09 21:03 ludovic Note Added: 0008042
2015-01-09 21:03 ludovic Status new => resolved
2015-01-09 21:03 ludovic Resolution open => unable to reproduce
2015-01-09 21:03 ludovic Assigned To => ludovic
2015-01-09 21:04 ludovic Note Added: 0008043