Open sapetnioc opened 3 years ago
Would it be enough to use --restart unless-stopped
option ? I am not sure it would resist to server reboot but it may since restart policies are also applied at docker start.
https://docs.docker.com/config/containers/start-containers-automatically/
Actually, this (--restart always
) was the way that I had set up Jenkins back in 2021. This is documented in a script called setup_jenkins.sh
in the homedir of the brainvisa user on the server. Probably not the best place to store that bit of information... @sapetnioc did you find where the documentation for the web server setup is stored?
On
new.brainvisa.info
server it is necessary to launch the following commands to start Jenkins :This does not resist to a process crash or a system reboot.