Browse Source
Retry Umbrel systemd startup service indefinitely (#634)
Co-authored-by: Luke Childs <lukechilds123@gmail.com>
sphinx-relay-2.0.12
Aaron Dewes
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
scripts/umbrel-os/services/umbrel-startup.service
|
|
@ -10,6 +10,10 @@ After=network-online.target |
|
|
|
Wants=docker.service |
|
|
|
After=docker.service |
|
|
|
|
|
|
|
# This prevents us hitting restart rate limits and ensures we keep restarting |
|
|
|
# indefinitely. |
|
|
|
StartLimitInterval=0 |
|
|
|
|
|
|
|
[Service] |
|
|
|
Type=forking |
|
|
|
TimeoutStartSec=infinity |
|
|
@ -22,6 +26,8 @@ StandardOutput=syslog |
|
|
|
StandardError=syslog |
|
|
|
SyslogIdentifier=umbrel startup |
|
|
|
RemainAfterExit=yes |
|
|
|
Restart=always |
|
|
|
RestartSec=10 |
|
|
|
|
|
|
|
[Install] |
|
|
|
WantedBy=multi-user.target |
|
|
|