diff options
author | Markus Strauss <Markus@ITstrauss.eu> | 2011-10-28 21:44:26 +0200 |
---|---|---|
committer | Markus Strauss <Markus@ITstrauss.eu> | 2011-10-28 21:44:26 +0200 |
commit | 60de9a59db80c2037e0da794df3e8680e309e3d6 (patch) | |
tree | 327308c7856896d98fa7c12f67d278223462a7a5 | |
parent | 147fcede0e31e24c7734cbcf0b608c3f1f310924 (diff) | |
download | puppet-runit-60de9a59db80c2037e0da794df3e8680e309e3d6.tar.gz puppet-runit-60de9a59db80c2037e0da794df3e8680e309e3d6.tar.bz2 |
the logger does not use an env. var. anymore
-rw-r--r-- | templates/logger_run.erb | 8 |
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}" |