diff options
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 |