summaryrefslogtreecommitdiff
blob: 56429e6daef243ba6e67229ef40c3649559d5d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# unit file for media-sound/logitechmediaserver-bin
#
# Thanks to Caj Zell for the draft.

[Unit]
Description=Logitech Media Server Daemon
After=network.target

[Service]
User=logitechmediaserver
Group=logitechmediaserver
WorkingDirectory=/opt/logitechmediaserver
EnvironmentFile=/etc/conf.d/logitechmediaserver
ExecStart=/opt/logitechmediaserver/slimserver.pl --prefsdir=/etc/logitechmediaserver --cachedir=/var/lib/logitechmediaserver/cache --logfile=syslog --audiodir=${LMS_MUSIC_DIR} --playlistdir=${LMS_PLAYLISTS_DIR} $LMS_OPTS

[Install]
WantedBy=network.target