mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 23:07:17 +00:00
make service environment file optional
This commit is contained in:
parent
25d54f68d6
commit
5659a1a86d
@ -6,7 +6,7 @@ Requires=network.target local-fs.target
|
|||||||
Environment=MPD_HOST=localhost
|
Environment=MPD_HOST=localhost
|
||||||
Environment=MPD_PORT=6600
|
Environment=MPD_PORT=6600
|
||||||
Environment=WEB_PORT=8080
|
Environment=WEB_PORT=8080
|
||||||
EnvironmentFile=/etc/conf.d/ympd
|
EnvironmentFile=-/etc/conf.d/ympd
|
||||||
ExecStart=/usr/bin/ympd -h $MPD_HOST -p $MPD_PORT -w $WEB_PORT
|
ExecStart=/usr/bin/ympd -h $MPD_HOST -p $MPD_PORT -w $WEB_PORT
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user