summarylogtreecommitdiffstats
path: root/dqcache@.service
diff options
context:
space:
mode:
Diffstat (limited to 'dqcache@.service')
-rw-r--r--dqcache@.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/dqcache@.service b/dqcache@.service
index 24f248afb114..bd4cf5bb94e6 100644
--- a/dqcache@.service
+++ b/dqcache@.service
@@ -9,8 +9,10 @@ Restart=always
PrivateTmp=true
PrivateDevices=true
ProtectSystem=true
-WorkingDirectory=/etc/dqcache
-EnvironmentFile=/etc/dqcache/%i.conf
+WorkingDirectory=/etc/dqcache/%i
+EnvironmentFile=-/etc/dqcache/%i.conf
+EnvironmentFile=/etc/dqcache/%i/config
+Environment=ROOT=/etc/dqcache/%i
ExecStart=/usr/bin/dqcache
[Install]