Fix emul-setup-audio-volume.service using incorrect dependency
[platform/adaptation/emulator/system-plugin-emulator.git] / filesystem / usr / lib / systemd / system / emul-setup-audio-volume.service
1 [Unit]
2 Description=Audio volume setup on emulator
3 DefaultDependencies=no
4 Wants=systemd-udev-settle.service
5 After=systemd-udev-settle.service
6
7 [Service]
8 User=service_fw
9 Group=service_fw
10 Type=oneshot
11 SmackProcessLabel=System
12 SupplementaryGroups=audio
13 ExecStart=/usr/bin/amixer "cset" "name='Master Playback Switch'" "1"
14 ExecStart=/usr/bin/amixer "cset" "name='Master Playback Volume'" "50"
15 ExecStart=/usr/bin/amixer "cset" "name='PCM Playback Switch'" "1"
16 ExecStart=/usr/bin/amixer "cset" "name='PCM Playback Volume'" "31"
17
18 [Install]
19 WantedBy=emulator_preinit.target