Fix systemd compatibility: use StartLimitInterval instead of StartLimitIntervalSec for older systemd versions
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 12s
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 12s
This commit is contained in:
@@ -23,7 +23,7 @@ TimeoutStopSec=10
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StartLimitBurst=5
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitInterval=60
|
||||
|
||||
# Production logging
|
||||
StandardOutput=journal
|
||||
|
||||
@@ -19,7 +19,7 @@ ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/apps/monitor/monitor.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StartLimitBurst=5
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitInterval=60
|
||||
|
||||
# Production logging
|
||||
StandardOutput=journal
|
||||
|
||||
Reference in New Issue
Block a user