make service environment file optional
authorPhilippe Mongeau <ph.mongeau@gmail.com>
Wed, 23 Apr 2014 14:47:25 +0000 (10:47 -0400)
committerPhilippe Mongeau <ph.mongeau@gmail.com>
Wed, 23 Apr 2014 14:47:25 +0000 (10:47 -0400)
contrib/ympd.service

index e374728..5d44c17 100644 (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