summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarkus Strauss <Markus@ITstrauss.eu>2011-10-28 21:44:26 +0200
committerMarkus Strauss <Markus@ITstrauss.eu>2011-10-28 21:44:26 +0200
commit60de9a59db80c2037e0da794df3e8680e309e3d6 (patch)
tree327308c7856896d98fa7c12f67d278223462a7a5 /templates
parent147fcede0e31e24c7734cbcf0b608c3f1f310924 (diff)
downloadpuppet-runit-60de9a59db80c2037e0da794df3e8680e309e3d6.tar.gz
puppet-runit-60de9a59db80c2037e0da794df3e8680e309e3d6.tar.bz2
the logger does not use an env. var. anymore
Diffstat (limited to 'templates')
-rw-r--r--templates/logger_run.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/logger_run.erb b/templates/logger_run.erb
index 3c377ca..f85bf79 100644
--- a/templates/logger_run.erb
+++ b/templates/logger_run.erb
@@ -1,5 +1,5 @@
#!/bin/sh
-logdir=$(<<%= svbase %>/env/Service_Root)/log/<%= name %>
-mkdir -p $logdir
-chown <%= user %>:<%= group %> $logdir
-exec chpst -u <%= user %>:<%= group %> svlogd -tt $logdir
+logdir=<%= logdir %>
+mkdir -p "${logdir}"
+chown <%= user %>:<%= group %> "${logdir}"
+exec chpst -u <%= user %>:<%= group %> svlogd -tt "${logdir}"