Add seconf foobazdmx for workshop
This commit is contained in:
parent
0f732833de
commit
e96f25cc4d
3 changed files with 23 additions and 1 deletions
|
@ -46,3 +46,15 @@
|
|||
service: foobazdmx.service
|
||||
state: started
|
||||
enabled: true
|
||||
- name: Generate foobazdmx-shop service file
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: foobazdmx-shop.service.j2
|
||||
dest: /etc/systemd/system/foobazdmx-shop.service
|
||||
mode: "0755"
|
||||
- name: Enable and start foobazdmx-shop service
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
service: foobazdmx-shop.service
|
||||
state: started
|
||||
enabled: true
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue