diff options
author | Markus Strauss <Markus@ITstrauss.eu> | 2012-02-28 02:28:50 +0100 |
---|---|---|
committer | Markus Strauss <Markus@ITstrauss.eu> | 2012-02-28 02:28:50 +0100 |
commit | fcc55c844e0dbe207c45c491fdf50e23ce7062be (patch) | |
tree | 0a8226257e7d053365ebc6e6f1534376cc47809d /templates | |
parent | 970bd1cdab842aabda585aa99ed5f5ddb164336d (diff) | |
download | puppet-runit-fcc55c844e0dbe207c45c491fdf50e23ce7062be.tar.gz puppet-runit-fcc55c844e0dbe207c45c491fdf50e23ce7062be.tar.bz2 |
quoting paths
Diffstat (limited to 'templates')
-rw-r--r-- | templates/logger_run.erb | 2 | ||||
-rw-r--r-- | templates/run.erb | 2 |
2 files changed, 2 insertions, 2 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}" diff --git a/templates/run.erb b/templates/run.erb index d8c1a81..dafc07a 100644 --- a/templates/run.erb +++ b/templates/run.erb @@ -1,5 +1,5 @@ #!/bin/bash -envdir=<%= svbase %>/env +envdir="<%= svbase %>/env" root=<%= rundir %> echo "Starting <%= name %> from ${root}" cd $root |