2021-10-22 15:22:10 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Umbrel. https://getumbrel.com
|
|
|
|
#
|
2022-01-21 20:37:48 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2021-10-22 15:22:10 +00:00
|
|
|
|
|
|
|
# Citadel External Storage SDcard Updater
|
|
|
|
# Installed at /etc/systemd/system/citadel-external-storage-sdcard-update.service
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=External Storage SDcard Updater
|
|
|
|
Requires=citadel-external-storage.service
|
|
|
|
After=citadel-external-storage.service
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
Wants=docker.service
|
|
|
|
After=docker.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
Restart=no
|
|
|
|
ExecStart=/home/citadel/citadel/scripts/citadel-os/external-storage/update-from-sdcard
|
|
|
|
TimeoutStartSec=45min
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|