mirror of
https://github.com/samply/bridgehead.git
synced 2026-10-12 23:56:42 +02:00
Guard against conflicts in Systemd's shutdown orchestration
This commit is contained in:
@@ -8,7 +8,10 @@ Restart=always
|
||||
RestartSec=30
|
||||
ExecStartPre=-/srv/docker/bridgehead/bridgehead preRun %i
|
||||
ExecStart=/srv/docker/bridgehead/bridgehead start %i
|
||||
ExecStop=/srv/docker/bridgehead/bridgehead stop %i
|
||||
SuccessExitStatus=130
|
||||
TimeoutStopSec=120
|
||||
# Clean up containers after stop
|
||||
ExecStopPost=-/srv/docker/bridgehead/bridgehead stop %i
|
||||
ExecStopPost=-/srv/docker/bridgehead/bridgehead postRun %i
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user