paulster wrote:
> Assuming Squeezelite is running as a service on SoA, can somebody give
> me the service file that you're using for it. I've just installed
> Squeezelite on a bare-bones Arch install and as a service on bootup it's
> starting too early and not passing a hardware MAC address back to LMS.
> I'd like to see how this has been worked around on SoA.
/usr/lib/systemd/system/squeezelite.service:
Code:
--------------------
[Unit]
Description=Squeezelite Player
After=network.target
[Service]
Nice=-10
LimitRTPRIO=99
LimitMEMLOCK=infinity
#ControlGroup=cpu:/
User=squeezelite
Group=squeezelite
SupplementaryGroups=audio
EnvironmentFile=-/etc/squeezelite.conf
ExecStart=/usr/bin/squeezelite\
$OPTIONS\
$NAME $MAC $PRIORITY\
$MAX_RATE $AUDIO_DEV\
$BUFFER $CODEC $ALSA_PARAMS $VOLUME\
$LOG_FILE $LOG_LEVEL\
$UPSAMPLE $DOP $VISULIZER $SERVER_IP
[Install]
WantedBy=multi-user.target
--------------------
------------------------------------------------------------------------
IanDury's Profile: http://forums.slimdevices.com/member.php?userid=63494
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix