From 60de9a59db80c2037e0da794df3e8680e309e3d6 Mon Sep 17 00:00:00 2001 From: Markus Strauss Date: Fri, 28 Oct 2011 21:44:26 +0200 Subject: the logger does not use an env. var. anymore --- templates/logger_run.erb | 8 ++++---- 1 file 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}" -- cgit v1.2.3