summary refs log tree commit diff
path: root/services/nginx
diff options
context:
space:
mode:
authorPhilipp Hirsch <itself@hanspolo.net>2014-06-07 22:46:27 +0200
committerPhilipp Hirsch <itself@hanspolo.net>2014-06-08 00:00:38 +0200
commita2f415526d5ec7618b59800ccfab4dfcb44aec7c (patch)
tree2967558efe2cca8f3496ed5ff45f784f8206301f /services/nginx
parent1faca902783a30b1a3225f12b9c849a5ad56c71c (diff)
downloadrunit-void-a2f415526d5ec7618b59800ccfab4dfcb44aec7c.tar.gz
runit-void-a2f415526d5ec7618b59800ccfab4dfcb44aec7c.tar.xz
runit-void-a2f415526d5ec7618b59800ccfab4dfcb44aec7c.zip
New service: nginx
Diffstat (limited to 'services/nginx')
-rw-r--r--services/nginx/run2
l---------services/nginx/supervise1
2 files changed, 3 insertions, 0 deletions
diff --git a/services/nginx/run b/services/nginx/run
new file mode 100644
index 0000000..9e84441
--- /dev/null
+++ b/services/nginx/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/sbin/nginx -g daemon=off
diff --git a/services/nginx/supervise b/services/nginx/supervise
new file mode 120000
index 0000000..7d82988
--- /dev/null
+++ b/services/nginx/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.nginx
\ No newline at end of file