pulseaudio/src/daemon/systemd/user/pulseaudio.service.in
Felipe Sateler 63b51b5192 daemon: Use Type=notify for systemd service
This ensures systemd knows when pulseaudio finishes loading, thus never
marking pulseaudio as active if startup fails.
2015-10-30 17:46:48 +05:30

12 lines
222 B
SYSTEMD

[Unit]
Description=Sound Service
[Service]
# Note that notify will only work if --daemonize=no
Type=notify
ExecStart=@PA_BINARY@ --daemonize=no
Restart=on-failure
[Install]
Also=pulseaudio.socket
WantedBy=default.target