From 840d2b430a302b020d17d1c4c23df9b48278f8b2 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Thu, 11 Apr 2013 19:37:01 +0200 Subject: [PATCH] =?utf8?q?Correction=20:=20vm=5Fhosted=20:=20runit=20:=20d?= =?utf8?q?=C3=A9pendences=20de=20d=C3=A9marrage.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/sv/cyclo_paris_est__openerp/run | 1 + etc/sv/dovecot/run | 1 + etc/sv/lhc-remorque/run | 1 + etc/sv/nginx/run | 4 ++++ etc/sv/postfix/run | 1 + etc/sv/unbound/run | 1 + 6 files changed, 9 insertions(+) diff --git a/etc/sv/cyclo_paris_est__openerp/run b/etc/sv/cyclo_paris_est__openerp/run index 074e16b..f930bc6 100755 --- a/etc/sv/cyclo_paris_est__openerp/run +++ b/etc/sv/cyclo_paris_est__openerp/run @@ -1,6 +1,7 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} +/usr/bin/sv -w 3 start postgres eval "home=~$sv" exec /usr/bin/chpst \ -u "$sv":"$sv":"$sv"-addon:postgres-data \ diff --git a/etc/sv/dovecot/run b/etc/sv/dovecot/run index 2cc2dd4..97b85ea 100755 --- a/etc/sv/dovecot/run +++ b/etc/sv/dovecot/run @@ -1,6 +1,7 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} +/usr/bin/sv -w 3 start postfix exec /usr/sbin/dovecot \ -c /etc/dovecot/dovecot.conf \ -F diff --git a/etc/sv/lhc-remorque/run b/etc/sv/lhc-remorque/run index 3f78af2..23bfe9e 100755 --- a/etc/sv/lhc-remorque/run +++ b/etc/sv/lhc-remorque/run @@ -1,6 +1,7 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} +/usr/bin/sv -w 3 start sshd exec /usr/bin/spawn-fcgi \ -u fcgi-"$sv" \ -g fcgi-"$sv" \ diff --git a/etc/sv/nginx/run b/etc/sv/nginx/run index 78e1efb..4cb7f40 100755 --- a/etc/sv/nginx/run +++ b/etc/sv/nginx/run @@ -1,6 +1,10 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} +/usr/bin/sv -w 3 start \ + lhc-remorque \ + gitweb \ + php5-fpm exec /usr/sbin/nginx \ -c /etc/nginx/nginx.conf \ -g 'daemon off;' diff --git a/etc/sv/postfix/run b/etc/sv/postfix/run index 3088a77..f07ffa1 100755 --- a/etc/sv/postfix/run +++ b/etc/sv/postfix/run @@ -1,6 +1,7 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} +/usr/bin/sv -w 3 start postgrey command_directory=/usr/sbin \ config_directory=/etc/postfix \ diff --git a/etc/sv/unbound/run b/etc/sv/unbound/run index e157a92..79856ca 100755 --- a/etc/sv/unbound/run +++ b/etc/sv/unbound/run @@ -1,6 +1,7 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} +/usr/bin/sv -w 3 start nsd3 exec /usr/sbin/unbound \ -c /etc/unbound/unbound.conf \ -d -- 2.20.1