summaryrefslogtreecommitdiff
path: root/applications/application-ruby-srv/run
diff options
context:
space:
mode:
Diffstat (limited to 'applications/application-ruby-srv/run')
-rw-r--r--applications/application-ruby-srv/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/application-ruby-srv/run b/applications/application-ruby-srv/run
new file mode 100644
index 0000000..5660987
--- /dev/null
+++ b/applications/application-ruby-srv/run
@@ -0,0 +1,8 @@
+#!/bin/execlineb -P
+
+fdmove -c 2 1
+foreground { chown application:users supervise supervise/control event }
+s6-setuidgid application
+s6-envdir env
+cd /srv/httpd/application/ruby/current/
+rbenv exec bundle exec puma