You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think docker-hook command not running in the background, So I've used nohup command to docker hook in the background.
I want to store logs in deploy.log when the script is executed by hook.
I've tried below command but it's not working
nohup docker-hook -t $SECRET_KEY -c sh <myscript.sh> >> /deploy.log > /dev/null 2>&1 &
Also, I've tried to pass -c params in " quotation but still logs are not going to deploy.log
I think docker-hook command not running in the background, So I've used nohup command to docker hook in the background.
I want to store logs in deploy.log when the script is executed by hook.
I've tried below command but it's not working
nohup docker-hook -t $SECRET_KEY -c sh <myscript.sh> >> /deploy.log > /dev/null 2>&1 &
Also, I've tried to pass -c params in " quotation but still logs are not going to deploy.log
nohup docker-hook -t $SECRET_KEY -c sh "sh <myscript.sh> >> /deploy.log" > /dev/null 2>&1 &
The text was updated successfully, but these errors were encountered: