ansible_playbook_audiometer/templates/audiometer.service.j2
2023-02-21 12:23:34 +01:00

17 lines
318 B
Django/Jinja

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