helperbot docker cleanup services, make network check first instead of just running the command
This commit is contained in:
parent
44954cfce7
commit
494bf08397
5 changed files with 97 additions and 18 deletions
|
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=helperbot docker cleanup command
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/helperbot --docker-cleanup
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=helperbot docker cleanup command
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnUnitActiveSec=3d
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
1
phosphorus/home/ruben/.zshenv
Normal file
1
phosphorus/home/ruben/.zshenv
Normal file
|
|
@ -0,0 +1 @@
|
|||
. /home/ruben/.config/zsh/.zshenv
|
||||
Loading…
Add table
Add a link
Reference in a new issue