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

10 lines
223 B
Django/Jinja

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