ansible_playbook_audiometer/templates/audiometer.service.j2

16 lines
270 B
Text
Raw Normal View History

2023-02-21 00:49:58 +01:00
{{ 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