diff options
author | Jaroslav Kysela <perex@perex.cz> | 2013-04-08 14:49:31 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2013-04-08 14:51:39 +0200 |
commit | e05b903b1fb16e967d838edac408304cd4470fee (patch) | |
tree | 680bdeb84d83e3b19c3aba19322925d998db2f14 /alsactl/alsa-state.service.in | |
parent | 46cb355d4ff41c8065b02644b0534ab42d16cb72 (diff) | |
download | alsa-utils-e05b903b1fb16e967d838edac408304cd4470fee.tar.gz |
alsactl: move systemd config to the daemon mode
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsactl/alsa-state.service.in')
-rw-r--r-- | alsactl/alsa-state.service.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/alsactl/alsa-state.service.in b/alsactl/alsa-state.service.in new file mode 100644 index 0000000..119be1b --- /dev/null +++ b/alsactl/alsa-state.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=Manage Sound Card State (restore and store) +DefaultDependencies=no +After=sysinit.target +Before=shutdown.target +Conflicts=shutdown.target + +[Service] +Type=simple +ExecStart=-@sbindir@/alsactl -s rdaemon +ExecStop=-@sbindir@/alsactl -s rkill save_and_quit |