summaryrefslogtreecommitdiff
path: root/templates/logger_run.erb
diff options
context:
space:
mode:
authorMarkus Strauss <Markus@ITstrauss.eu>2012-02-28 02:28:50 +0100
committerMarkus Strauss <Markus@ITstrauss.eu>2012-02-28 02:28:50 +0100
commitfcc55c844e0dbe207c45c491fdf50e23ce7062be (patch)
tree0a8226257e7d053365ebc6e6f1534376cc47809d /templates/logger_run.erb
parent970bd1cdab842aabda585aa99ed5f5ddb164336d (diff)
downloadpuppet-runit-fcc55c844e0dbe207c45c491fdf50e23ce7062be.tar.gz
puppet-runit-fcc55c844e0dbe207c45c491fdf50e23ce7062be.tar.bz2
quoting paths
Diffstat (limited to 'templates/logger_run.erb')
-rw-r--r--templates/logger_run.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/logger_run.erb b/templates/logger_run.erb
index 5c0a30b..55728dd 100644
--- a/templates/logger_run.erb
+++ b/templates/logger_run.erb
@@ -1,5 +1,5 @@
#!/bin/sh
-logdir=<%= _logdir %>
+logdir="<%= _logdir %>"
mkdir -p "${logdir}"
chown <%= user %>:<%= group %> "${logdir}"
exec chpst -u <%= user %>:<%= group %> svlogd -tt "${logdir}"