~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to vivid/lib/systemd/system/alsa-restore.service

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Note that two different ALSA card state management schemes exist and they
 
3
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
 
4
#
 
5
 
 
6
[Unit]
 
7
Description=Restore Sound Card State
 
8
ConditionPathExists=!/var/lib/alsa/state-daemon.conf
 
9
ConditionPathExists=/var/lib/alsa/asound.state
 
10
DefaultDependencies=no
 
11
After=alsa-state.service
 
12
Before=shutdown.target
 
13
Conflicts=shutdown.target
 
14
 
 
15
[Service]
 
16
Type=oneshot
 
17
ExecStart=-/usr/sbin/alsactl -E HOME=/var/run/alsa restore