summaryrefslogtreecommitdiff
path: root/applications/application-ruby-srv/run
blob: 56609873d2426a54c2f14a13ecb5ef7ab9a1b49f (plain)
1
2
3
4
5
6
7
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