diff --git a/canto-docker-initd b/canto-docker-initd index d83a4761207ef46c083ea4b8f950b769b5a01d04..aaca5cc7d7dc81867b56d0a996ca0f7a6f4ce27b 100644 --- a/canto-docker-initd +++ b/canto-docker-initd @@ -17,7 +17,7 @@ case "$action" in echo "Starting Canto with $WORKERS workers" - (date; cd $CANTO_SPACE; canto/script/canto_docker --non-interactive --use-container-name start_server --pid-file=/$PID_PATH --port $port -- script/canto_start --workers $WORKERS --keepalive-timeout 5 -s Starman --preload) >> canto.log 2>&1 & + (date; cd $CANTO_SPACE; canto/script/canto_docker --non-interactive --use-container-name canto start_server --pid-file=/$PID_PATH --port $port -- script/canto_start --workers $WORKERS --keepalive-timeout 5 -s Starman --preload) >> canto.log 2>&1 & ;; stop) pid=`/bin/cat $CANTO_SPACE/$PID_PATH`