ansible-infra/playbooks/roles/foobazdmx/templates/foobazdmx.service.j2

10 lines
204 B
Django/Jinja

[Unit]
Description=Foobaz DMX
[Service]
ExecStart=poetry run python foobaz.py -a {{ foobazdmx__art_net_host }} -r big
WorkingDirectory=/opt/foobazdmx
User=foobazdmx
[Install]
WantedBy=multi-user.target