Correction : vm_hosted : runit : dépendences de démarrage.
authorJulien Moutinho <julm+burette@autogeree.net>
Thu, 11 Apr 2013 17:37:01 +0000 (19:37 +0200)
committerJulien Moutinho <julm+burette@autogeree.net>
Thu, 11 Apr 2013 17:46:56 +0000 (19:46 +0200)
etc/sv/cyclo_paris_est__openerp/run
etc/sv/dovecot/run
etc/sv/lhc-remorque/run
etc/sv/nginx/run
etc/sv/postfix/run
etc/sv/unbound/run

index 074e16b..f930bc6 100755 (executable)
@@ -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 \
index 2cc2dd4..97b85ea 100755 (executable)
@@ -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
index 3f78af2..23bfe9e 100755 (executable)
@@ -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" \
index 78e1efb..4cb7f40 100755 (executable)
@@ -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;'
index 3088a77..f07ffa1 100755 (executable)
@@ -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 \
index e157a92..79856ca 100755 (executable)
@@ -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