FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit d89e2500 authored by Vitor Trovisco's avatar Vitor Trovisco
Browse files

Update canto-docker-initd

parent b2618e9f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ action=$1
port=$2
WORKERS=5
CANTO_SPACE='/data/export/canto-space/'
CANTO_SPACE='/data/export/canto-space'
PID_PATH=import_export/canto.pid
......@@ -17,7 +17,7 @@ case "$action" in
echo "Starting Canto with $WORKERS workers"
(date; cd $CANTO_SPACE; canto/script/canto_docker --non-interactive 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 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`
......@@ -35,4 +35,4 @@ case "$action" in
;;
esac
exit 0
\ No newline at end of file
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment