Skip to content
Snippets Groups Projects
Commit 64b6b23e authored by Jan Philipp Timme's avatar Jan Philipp Timme Committed by Elke Kreim
Browse files

Fix service unit to do automatic restarts on crashes

parent 032c7dc2
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@ Wants=network-online.target
After=remote-fs.target
[Service]
ExecStartPre=-/usr/bin/docker kill goemaximapool
Restart=on-failure
RestartSec=1s
ExecStart=/usr/bin/docker run --rm --name goemaximapool --publish 0.0.0.0:8080:8080 goemaxima:2020120600-dev
[Install]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment