set up cronjob and timer
This commit is contained in:
9
templates/systemd/chill-cronjob@.service
Normal file
9
templates/systemd/chill-cronjob@.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Execute cron job for chill with environment %i
|
||||
|
||||
[Service]
|
||||
User={{ as_user }}
|
||||
ExecStart=/usr/bin/docker compose --file {{ install_dir }}/%i/compose.yaml up cron
|
||||
Type=simple
|
||||
# execute maximum 30 minutes
|
||||
RuntimeMaxSec=1800
|
Reference in New Issue
Block a user