blob: f5ce0ca66ec06429f44673ef58bcf010fdd8693f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=Play Shutdown Sound
DefaultDependencies=no
Before=shutdown.target
# A little optimization under the assumption that we are using the
# standard freedesktop theme
ConditionPathExists=/usr/share/sounds/freedesktop/stereo/system-shutdown.oga
[Service]
Type=oneshot
ExecStart=-@bindir@/canberra-boot system-shutdown
[Install]
WantedBy=halt.target poweroff.target
Also=canberra-system-shutdown-reboot.service canberra-system-shutdown-reboot.service
|