diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-21 18:32:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-21 18:32:15 -0300 |
commit | b90eb233578a2fbf8b4cf7e8f5c64afc04cbae3e (patch) | |
tree | e67f2e74fbf7a91e9105111ee6190339fabd290c | |
parent | 02dd920fa316f4cee0577b88b46b21d5c6fdab4c (diff) | |
download | puppet-supervisor-b90eb233578a2fbf8b4cf7e8f5c64afc04cbae3e.tar.gz puppet-supervisor-b90eb233578a2fbf8b4cf7e8f5c64afc04cbae3e.tar.bz2 |
Adding template
-rw-r--r-- | templates/app.erb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/app.erb b/templates/app.erb new file mode 100644 index 0000000..57e52f4 --- /dev/null +++ b/templates/app.erb @@ -0,0 +1,9 @@ +[program:<%= @appname %>] +command=<%= @command %> +directory=<%= @directory %> +user=<%= @user %> +autostart=true +autorestart=true +redirect_stderr=True +stderr_logfile=/dev/null +stdout_logfile=/var/log/supervisor/<%= @appname %>.log |