ansible_playbook_audiometer/templates/audiometer.service.j2
2023-02-21 00:49:58 +01:00

15 lines
270 B
Django/Jinja

{{ ansible_managed | comment }}
[Unit]
Description=create audiometer for {{ inventory_hstname }}
After=network.target
[Service]
Type=simple
Restart=always
User=video
ExecStart=/opt/audiometer.sh
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target