-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure SD card updater runs after networking and Docker (#741)
Co-authored-by: Luke Childs <lukechilds123@gmail.com>
- Loading branch information
1 parent
8fb101e
commit 5d63f36
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
scripts/umbrel-os/services/umbrel-external-storage-sdcard-update.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Umbrel External Storage SDcard Updater | ||
# Installed at /etc/systemd/system/umbrel-external-storage-sdcard-update.service | ||
|
||
[Unit] | ||
Description=External Storage SDcard Updater | ||
Requires=umbrel-external-storage.service | ||
After=umbrel-external-storage.service | ||
Wants=network-online.target | ||
After=network-online.target | ||
Wants=docker.service | ||
After=docker.service | ||
|
||
[Service] | ||
Type=oneshot | ||
Restart=no | ||
ExecStart=/home/umbrel/umbrel/scripts/umbrel-os/external-storage/update-from-sdcard | ||
TimeoutStartSec=45min | ||
User=root | ||
Group=root | ||
StandardOutput=syslog | ||
StandardError=syslog | ||
SyslogIdentifier=external storage updater | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters