mirror of https://github.com/lukechilds/umbrel.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
865 B
35 lines
865 B
# Umbrel Startup Service
|
|
# Installed at /etc/systemd/system/umbrel-startup.service
|
|
|
|
[Unit]
|
|
Description=Umbrel Startup Service
|
|
Requires=umbrel-external-storage.service
|
|
After=umbrel-external-storage.service
|
|
Requires=umbrel-external-storage-sdcard-update.service
|
|
After=umbrel-external-storage-sdcard-update.service
|
|
Wants=network-online.target
|
|
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
|
|
TimeoutStopSec=16min
|
|
ExecStart=/home/umbrel/umbrel/scripts/start
|
|
ExecStop=/home/umbrel/umbrel/scripts/stop
|
|
User=root
|
|
Group=root
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=umbrel startup
|
|
RemainAfterExit=yes
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|