17 lines
318 B
Django/Jinja
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
|