massive update i don't feel like noting what changed
This commit is contained in:
parent
0d93587aef
commit
fe7ede16c8
27 changed files with 255 additions and 118 deletions
12
neptunium/etc/systemd/system/3days@.timer
Normal file
12
neptunium/etc/systemd/system/3days@.timer
Normal 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
|
||||
12
neptunium/etc/systemd/system/daily@.timer
Normal file
12
neptunium/etc/systemd/system/daily@.timer
Normal 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
|
||||
19
neptunium/etc/systemd/system/helperbot@.service
Normal file
19
neptunium/etc/systemd/system/helperbot@.service
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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
|
||||
# sudo systemctl enable --now daily@helperbot@--update-frontends.timer
|
||||
|
||||
[Unit]
|
||||
Description=Synth.Download helperbot maintenance script
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/helperbot %i
|
||||
Loading…
Add table
Add a link
Reference in a new issue