Blame src/canberra-system-shutdown.service.in
|
Packit |
3ae693 |
[Unit]
|
|
Packit |
3ae693 |
Description=Play Shutdown Sound
|
|
Packit |
3ae693 |
DefaultDependencies=no
|
|
Packit |
3ae693 |
Before=shutdown.target
|
|
Packit |
3ae693 |
|
|
Packit |
3ae693 |
# A little optimization under the assumption that we are using the
|
|
Packit |
3ae693 |
# standard freedesktop theme
|
|
Packit |
3ae693 |
ConditionPathExists=/usr/share/sounds/freedesktop/stereo/system-shutdown.oga
|
|
Packit |
3ae693 |
|
|
Packit |
3ae693 |
[Service]
|
|
Packit |
3ae693 |
Type=oneshot
|
|
Packit |
3ae693 |
ExecStart=-@bindir@/canberra-boot system-shutdown
|
|
Packit |
3ae693 |
|
|
Packit |
3ae693 |
[Install]
|
|
Packit |
3ae693 |
WantedBy=halt.target poweroff.target
|
|
Packit |
3ae693 |
Also=canberra-system-shutdown-reboot.service canberra-system-shutdown-reboot.service
|