forked from bitlair/ansible
music: Add soundboard
This commit is contained in:
parent
97a4e95ca8
commit
2e47c6744f
7 changed files with 141 additions and 0 deletions
16
roles/music/templates/shutdown-sound.service
Normal file
16
roles/music/templates/shutdown-sound.service
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Managed by Ansible
|
||||
|
||||
[Unit]
|
||||
Description=Goodbye
|
||||
Requires=mpd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/true
|
||||
ExecStop=/opt/shutdown.sh
|
||||
RemainAfterExit=true
|
||||
User=audio
|
||||
Group=audio
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue