Change to RemainAfterExit=yes in alsa-restore.service.in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



alsa-project/alsa-utils pull request #171 was opened from stele95:

Fresh Manjaro installation.
Default volume value was 75%, no matter to what value I change it, it resets to 75% on reboot/shutdown.

After changing to `RemainAfterExit=yes` from `RemainAfterExit=true` in `alsa-restore.service`, the volume value is properly saved and restored on reboot/shutdown. I did check the following [link](https://www.freedesktop.org/software/systemd/man/systemd.service.html) and it says:

> RemainAfterExit=
> Takes a boolean value that specifies whether the service shall be considered active even when all its processes exited. Defaults to no.

But if you look at `Example 4. Stoppable oneshot service`, it clearly sets `RemainAfterExit=yes` with `Type=oneshot`.

Request URL   : https://github.com/alsa-project/alsa-utils/pull/171
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/171.patch
Repository URL: https://github.com/alsa-project/alsa-utils



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux