mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-10-02 18:14:28 +02:00
add timer
This commit is contained in:
1 parent
262f9cdb20
commit
efb0c8562b
2 files changed
+12
No files matched your search
@@ -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