aboutsummaryrefslogtreecommitdiff
path: root/uwsgi/uwsgi-srv/run
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-01-10 21:53:00 +0530
committersinanmohd <pcmsinan@gmail.com>2023-01-10 21:53:00 +0530
commit9bb6b9f7d5246c7a896c909c40370dc75644d4cf (patch)
tree5d510b2d0abf03ced7e98b5f66842c5c18ac1f1a /uwsgi/uwsgi-srv/run
parent1544ca00bbbd39bfae3a43b484f5c5c67e0549e4 (diff)
uwsgi: add s6-rc service scripts for uwsgi, cgit
Diffstat (limited to 'uwsgi/uwsgi-srv/run')
-rw-r--r--uwsgi/uwsgi-srv/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/uwsgi/uwsgi-srv/run b/uwsgi/uwsgi-srv/run
new file mode 100644
index 0000000..bc7902e
--- /dev/null
+++ b/uwsgi/uwsgi-srv/run
@@ -0,0 +1,5 @@
+#!/bin/execlineb -P
+envfile /etc/s6/config/uwsgi.conf
+importas -sCuD "" OPTS OPTS
+fdmove -c 2 1
+exec /usr/bin/uwsgi ${OPTS}