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:
Felipe Sateler 2015-08-13 19:58:27 -03:00 committed by Arun Raghavan
parent 2d5eec2d2c
commit ad047c2c79
2 changed files with 10 additions and 0 deletions

View file

@ -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