aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/app.erb9
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