mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-26 19:10:25 +00:00
26b2ca3408
usefull if ympd listens on two ports: one (local) for intranet usage and one for internet usage
20 lines
557 B
Desktop File
20 lines
557 B
Desktop File
[Unit]
|
|
Description=ympd server daemon
|
|
Requires=network.target local-fs.target
|
|
|
|
[Service]
|
|
Environment=MPD_HOST=localhost
|
|
Environment=MPD_PORT=6600
|
|
Environment=MPD_PASSWORD=
|
|
Environment=WEB_PORT=8080
|
|
Environment=YMPD_USER=nobody
|
|
Environment=DIRBLE_API_TOKEN=2e223c9909593b94fc6577361a
|
|
Environment=DIGEST=
|
|
Environment=LOCALPORT=
|
|
EnvironmentFile=/etc/default/ympd
|
|
ExecStart=/usr/bin/ympd --user $YMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT --dirbletoken $DIRBLE_API_TOKEN $DIGEST $LOCALPORT
|
|
Type=simple
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|