summaryrefslogtreecommitdiff
path: root/templates/logger_run.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/logger_run.erb')
-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}"