alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Change to RemainAfterExit=yes in alsa-restore.service.in
       [not found] <1664918924433600903-webhooks-bot@alsa-project.org>
@ 2022-10-04 21:28 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2022-10-04 21:28 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-04 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1664918924433600903-webhooks-bot@alsa-project.org>
2022-10-04 21:28 ` Change to RemainAfterExit=yes in alsa-restore.service.in GitHub pull_request - opened

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).