#!/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 \
#!/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
#!/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" \
#!/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;'
#!/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 \
#!/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