3 changed files with 22 additions and 0 deletions
@ -0,0 +1,12 @@
|
||||
#jinja2: lstrip_blocks: "True" |
||||
|
||||
{% set container_name = homelab_service_container_name['homelab-service-monica'] %} |
||||
|
||||
[Unit] |
||||
Description=Run Monica artisan schedule:run |
||||
|
||||
[Service] |
||||
Type=oneshot |
||||
SyslogIdentifier={{ container_name }}-cron |
||||
Environment="HOME={{ homelab_path }}" |
||||
ExecStart={{ homelab_container_exec }} exec {{ container_name }} php artisan schedule:run |
Loading…
Reference in new issue