mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
add timer
This commit is contained in:
@@ -202,8 +202,10 @@ ls /mnt/kdrive
|
||||
# backup of things not in kdrive
|
||||
|
||||
cp systemd/server-backup.* /etc/systemd/system/
|
||||
cp systemd/freshrss-fav-archiver.* /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now server-backup.timer
|
||||
systemctl enable --now freshrss-fav-archiver.timer
|
||||
|
||||
###############################################################################
|
||||
# hledger-web
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Run FreshRSS favorite article archiver periodically
|
||||
|
||||
[Timer]
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=10min
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user