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
Here is the script that I use on my mirror machines, maybe we can look into providing proper startup scripts and checks. Maybe use monit to monitor the process and restart it when needed?
#!/bin/bashif [ "$SUDO_USER"="" ];thenecho"You're not allowed to execute this script. Please run this with sudo.";exit 1;fi
pid="/tmp/registry-static.pid"if [ -f$pid ];then
PID=`cat $pid`echo"Found a running process: $PID. Killing it first.."kill$PID;
rm $pidfiecho"Launching registry-static in the background..."cd /tmp/
nohup /bin/registry-static &echo"Launched"
The text was updated successfully, but these errors were encountered:
Here is the script that I use on my mirror machines, maybe we can look into providing proper startup scripts and checks. Maybe use monit to monitor the process and restart it when needed?
The text was updated successfully, but these errors were encountered: