Blame src/canberra-system-shutdown-reboot.service.in
|
Packit |
3ae693 |
[Unit]
|
|
Packit |
3ae693 |
Description=Play Reboot 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 |
ConditionPathExists=|/usr/share/sounds/freedesktop/stereo/system-shutdown-reboot.oga
|
|
Packit |
3ae693 |
|
|
Packit |
3ae693 |
[Service]
|
|
Packit |
3ae693 |
Type=oneshot
|
|
Packit |
3ae693 |
ExecStart=-@bindir@/canberra-boot system-shutdown-reboot
|
|
Packit |
3ae693 |
|
|
Packit |
3ae693 |
[Install]
|
|
Packit |
3ae693 |
WantedBy=reboot.target kexec.target
|
|
Packit |
3ae693 |
Also=canberra-system-shutdown.service
|