22 lines
713 B
Desktop File
22 lines
713 B
Desktop File
# This file is to be placed in /home/alex/.sync
|
|
# A symlink should then be created at ~/.config/systemd/user/pulseaudio-dlna.service
|
|
# This is just a service file for pulseaudio-dlna, which is run in user session
|
|
# It can be enabled (in user mode) in order to see DLNA renderers in audio devices
|
|
|
|
[Unit]
|
|
Description=DLNA renderers support for PulseAudio
|
|
After=pulseaudio.service pulseaudio.socket
|
|
#Requisite=pulseaudio.service
|
|
ConditionUser=!root
|
|
|
|
[Service]
|
|
Type=simple
|
|
# I'd rather have used herebefore Requisite statement, but pulseaudio is ativated by its socket, and Requisite doesn't
|
|
# wait long enough...
|
|
ExecStartPre=/usr/bin/sleep 10
|
|
ExecStart=/usr/bin/pulseaudio-dlna
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|