mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 02:28:38 +02:00
add timer
This commit is contained in:
@@ -202,8 +202,10 @@ ls /mnt/kdrive
|
|||||||
# backup of things not in kdrive
|
# backup of things not in kdrive
|
||||||
|
|
||||||
cp systemd/server-backup.* /etc/systemd/system/
|
cp systemd/server-backup.* /etc/systemd/system/
|
||||||
|
cp systemd/freshrss-fav-archiver.* /etc/systemd/system/
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable --now server-backup.timer
|
systemctl enable --now server-backup.timer
|
||||||
|
systemctl enable --now freshrss-fav-archiver.timer
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# hledger-web
|
# 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