|
@@ -6,6 +6,7 @@ Description=CronAlarm Web UI
|
|
|
|
|
|
|
|
[Service]
|
|
[Service]
|
|
|
Restart=always
|
|
Restart=always
|
|
|
|
|
+RestartSec=10
|
|
|
# Shutdown container (if running) when unit is stopped
|
|
# Shutdown container (if running) when unit is stopped
|
|
|
ExecStartPre=/usr/bin/docker compose -f %h/projects/CronAlarm/docker-compose.yml down -v
|
|
ExecStartPre=/usr/bin/docker compose -f %h/projects/CronAlarm/docker-compose.yml down -v
|
|
|
# Start container when unit is started
|
|
# Start container when unit is started
|