make service environment file optional

This commit is contained in:
Philippe Mongeau 2014-04-23 10:47:25 -04:00
parent 25d54f68d6
commit 5659a1a86d
1 changed files with 1 additions and 1 deletions

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