1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-30 00:19:54 +00:00

make service environment file optional

This commit is contained in:
Philippe Mongeau 2014-04-23 10:47:25 -04:00
parent 25d54f68d6
commit 5659a1a86d

View File

@ -6,7 +6,7 @@ Requires=network.target local-fs.target
Environment=MPD_HOST=localhost
Environment=MPD_PORT=6600
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
Type=simple