summarylogtreecommitdiffstats
path: root/squeezelite.service
blob: 5ce62cfb1f7fe70d4f738b5548f2188ea8963e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=Squeezelite Player
After=network.target

[Service]
Nice=-10
LimitRTPRIO=98
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