Skip to content

Commit

Permalink
Fix a bug which causes some stucks when starting a service.
Browse files Browse the repository at this point in the history
  • Loading branch information
2510 committed May 18, 2016
1 parent 7edbf5b commit ea0bf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/init.d/xtreemfs-service.template
Expand Up @@ -65,7 +65,7 @@ xtreemfs_start() {
echo -e "Starting XtreemFS @LONG_SERVICE_NAME@ (@SHORT_SERVICE_NAME@)...\n\n" >> $LOG

echo -n "Starting XtreemFS @LONG_SERVICE_NAME@ (@SHORT_SERVICE_NAME@)..."
/usr/sbin/daemon -u $XTREEMFS_USER -P $PID sh -c "$JAVA_CALL org.xtreemfs.@SHORT_SERVICE_NAME_LOWERCASE@.@SHORT_SERVICE_NAME@ $CONFIG >> $LOG 2>&1"
/usr/sbin/daemon -u $XTREEMFS_USER -P $PID -f sh -c "$JAVA_CALL org.xtreemfs.@SHORT_SERVICE_NAME_LOWERCASE@.@SHORT_SERVICE_NAME@ $CONFIG >> $LOG 2>&1"
sleep 1

if [ -e /proc/$PROCPID ]; then
Expand Down

0 comments on commit ea0bf85

Please sign in to comment.