mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 21:02:04 +08:00
add pkg/lib/systemd/system/spark-update-notifier.timer.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
11
pkg/lib/systemd/system/spark-update-notifier.timer
Normal file
11
pkg/lib/systemd/system/spark-update-notifier.timer
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Timer for Spark Update Notifier
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
# 开机后第一次执行
|
||||||
|
OnBootSec=1min
|
||||||
|
# 每天执行一次
|
||||||
|
OnUnitActiveSec=1d
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Reference in New Issue
Block a user