diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-06-28 14:13:24 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-06-28 14:13:24 +0200 |
| commit | 5eb5ce724f630196f95b3e5cdd963753bba494c2 (patch) | |
| tree | faed69ae52e98550e3886c492b37fac2999192c3 /applications/application-ruby-srv/run | |
| parent | be3fcc60753515b1100c4dc2dfb355a16a49db87 (diff) | |
| download | s6-5eb5ce724f630196f95b3e5cdd963753bba494c2.tar.gz | |
Add ruby application service sample
Diffstat (limited to 'applications/application-ruby-srv/run')
| -rw-r--r-- | applications/application-ruby-srv/run | 8 |
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 |
