projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3751c6a
)
Allow the sytemd unit to read a configuration file
author
Marc Plano-Lesay
<marc.planolesay@gmail.com>
Sat, 12 Apr 2014 17:45:40 +0000
(19:45 +0200)
committer
Marc Plano-Lesay
<marc.planolesay@gmail.com>
Sat, 12 Apr 2014 17:45:40 +0000
(19:45 +0200)
contrib/ympd.service
patch
|
blob
|
history
diff --git
a/contrib/ympd.service
b/contrib/ympd.service
index
d6631c2
..
e374728
100644
(file)
--- a/
contrib/ympd.service
+++ b/
contrib/ympd.service
@@
-3,7
+3,11
@@
Description=ympd server daemon
Requires=network.target local-fs.target
[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
[Install]