mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-17 22:05:34 -05:00
daemon: Use Type=notify for systemd service
This ensures systemd knows when pulseaudio finishes loading, thus never marking pulseaudio as active if startup fails.
This commit is contained in:
parent
69a5d4913c
commit
63b51b5192
2 changed files with 10 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
Description=Sound Service
|
||||
|
||||
[Service]
|
||||
# Note that notify will only work if --daemonize=no
|
||||
Type=notify
|
||||
ExecStart=@PA_BINARY@ --daemonize=no
|
||||
Restart=on-failure
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue