diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2014-02-07 20:47:42 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@higgsboson.tk> | 2014-02-07 20:48:30 +0100 |
commit | 3699d77578a1f867faabec438ac2b6e8ddb5ecc3 (patch) | |
tree | 091b7e7d8ed0e9201c4f87cc9bfff34323224429 | |
parent | 3d098c600f9b513d9333831f195c2aecad6fe4f2 (diff) | |
download | runit-services-3699d77578a1f867faabec438ac2b6e8ddb5ecc3.zip runit-services-3699d77578a1f867faabec438ac2b6e8ddb5ecc3.tar.gz runit-services-3699d77578a1f867faabec438ac2b6e8ddb5ecc3.tar.bz2 |
added nginx
l--------- | etc/sv/nginx/log/run | 1 | ||||
l--------- | etc/sv/nginx/log/supervise | 1 | ||||
-rwxr-xr-x | etc/sv/nginx/run | 4 | ||||
l--------- | etc/sv/nginx/supervise | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/etc/sv/nginx/log/run b/etc/sv/nginx/log/run new file mode 120000 index 0000000..914853d --- /dev/null +++ b/etc/sv/nginx/log/run @@ -0,0 +1 @@ +/usr/bin/rsvlog
\ No newline at end of file diff --git a/etc/sv/nginx/log/supervise b/etc/sv/nginx/log/supervise new file mode 120000 index 0000000..8f0f436 --- /dev/null +++ b/etc/sv/nginx/log/supervise @@ -0,0 +1 @@ +/run/runit/sv/nginx.log
\ No newline at end of file diff --git a/etc/sv/nginx/run b/etc/sv/nginx/run new file mode 100755 index 0000000..46fd72c --- /dev/null +++ b/etc/sv/nginx/run @@ -0,0 +1,4 @@ +#!/bin/sh +exec 2>&1 + +exec /usr/bin/nginx -c /etc/nginx/nginx.conf -g "daemon off;" diff --git a/etc/sv/nginx/supervise b/etc/sv/nginx/supervise new file mode 120000 index 0000000..8afaacb --- /dev/null +++ b/etc/sv/nginx/supervise @@ -0,0 +1 @@ +/run/runit/sv/nginx
\ No newline at end of file |