Created
March 22, 2015 05:57
-
-
Save glabra/411dea722422ffbcb70a to your computer and use it in GitHub Desktop.
systemdで起動音
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Play shutdown sound via ALSA | |
ConditionPathExists=/usr/local/share/sounds/Shutdown.wav | |
Before=shutdown.target alsa-store.service | |
DefaultDependencies=no | |
[Service] | |
ExecStart=/usr/bin/aplay /usr/local/share/sounds/Shutdown.wav | |
[Install] | |
WantedBy=shutdown.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Play startup sound via ALSA | |
ConditionPathExists=/usr/local/share/sounds/Startup.wav | |
After=getty@tty1.service | |
[Service] | |
ExecStart=/usr/bin/aplay /usr/local/share/sounds/Startup.wav | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment