update notes, helperbot, phosphorus

This commit is contained in:
Ruben 2025-07-19 23:52:19 -05:00
commit 8dab75afb0
No known key found for this signature in database
GPG key ID: 8EA836555FB6D9A5
29 changed files with 1340 additions and 46 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Runs service every 3 days for %i service
[Timer]
OnCalendar=*-*-1,3,6,9,12,15,18,21,24,27,30 00:00:00
AccuracySec=6h
RandomizedDelaySec=1h
Persistent=true
Unit=%i.service
[Install]
WantedBy=default.target

View file

@ -0,0 +1,12 @@
[Unit]
Description=Runs service daily for %i service
[Timer]
OnCalendar=daily
AccuracySec=6h
RandomizedDelaySec=1h
Persistent=true
Unit=%i.service
[Install]
WantedBy=default.target

View file

@ -1,6 +0,0 @@
[Unit]
Description=helperbot backup command
[Service]
Type=oneshot
ExecStart=/usr/local/bin/helperbot --backup

View file

@ -1,9 +0,0 @@
[Unit]
Description=helperbot backup command
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target

View file

@ -1,6 +0,0 @@
[Unit]
Description=helperbot docker cleanup command
[Service]
Type=oneshot
ExecStart=/usr/local/bin/helperbot --docker-cleanup

View file

@ -1,9 +0,0 @@
[Unit]
Description=helperbot docker cleanup command
[Timer]
OnBootSec=15min
OnUnitActiveSec=3d
[Install]
WantedBy=timers.target

View file

@ -1,6 +0,0 @@
[Unit]
Description=helperbot vacuum command
[Service]
Type=oneshot
ExecStart=/usr/local/bin/helperbot --vacuum

View file

@ -1,9 +0,0 @@
[Unit]
Description=helperbot vacuum command
[Timer]
OnBootSec=15min
OnUnitActiveSec=3d
[Install]
WantedBy=timers.target

View file

@ -0,0 +1,18 @@
# The systemd unit for running helperbot via systemd
# Automatically ran using timer services, ensure that body daily@.timer and 3days@.timer are also in /etc/systemd/systemd
# Then do sudo systemctl daemon-reload
#
# Enable as so:
# sudo systemctl enable {3days|daily}@helperbot@{<argument>}.timer
#
# For example, to create and start immediately:
# sudo systemctl enable --now 3days@helperbot@--docker-cleanup.timer
# sudo systemctl enable --now 3days@helperbot@--vacuum.timer
# sudo systemctl enable --now daily@helperbot@--backup.timer
[Unit]
Description=Synth.Download helperbot maintenance script
[Service]
Type=oneshot
ExecStart=/usr/local/bin/helperbot %i