!403 fix: 处理 systemd 服务单元每日 aptss update 触发逻辑

Merge pull request !403 from zinface/systemd/spark-update
This commit is contained in:
2026-07-14 14:17:00 +00:00
committed by Gitee
2 changed files with 11 additions and 1 deletions
@@ -3,7 +3,7 @@ Description=Spark Store update notifier
After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
[Service]
Type=simple
Type=oneshot
RemainAfterExit=yes
ExecStart=/opt/durapps/spark-store/bin/update-upgrade/ss-update-notifier.sh
Restart=on-failure
@@ -0,0 +1,10 @@
[Unit]
Description=Spark Store update notifier
[Timer]
OnCalendar=*-*-* 6,18:00
RandomizedDelaySec=12h
Persistent=true
[Install]
WantedBy=timers.target