mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 23:07:17 +00:00
Allow the sytemd unit to read a configuration file
This commit is contained in:
parent
3751c6ad98
commit
bf96db2ba3
@ -3,7 +3,11 @@ Description=ympd server daemon
|
|||||||
Requires=network.target local-fs.target
|
Requires=network.target local-fs.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/ympd
|
Environment=MPD_HOST=localhost
|
||||||
|
Environment=MPD_PORT=6600
|
||||||
|
Environment=WEB_PORT=8080
|
||||||
|
EnvironmentFile=/etc/conf.d/ympd
|
||||||
|
ExecStart=/usr/bin/ympd -h $MPD_HOST -p $MPD_PORT -w $WEB_PORT
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user