From 0ab912fc43d391ec766fb690a34bdd3699f51cd7 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 15 Dec 2012 16:24:13 -0600
Subject: runit-scripts:  add supplemental-slave run file refs #881

---
 abs/core/runit-scripts/PKGBUILD                               |  2 +-
 .../runitscripts/services/supplemental-slave/run              | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100755 abs/core/runit-scripts/runitscripts/services/supplemental-slave/run

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 1fb818d..870fe71 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=2.1.1
-pkgrel=91
+pkgrel=92
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/supplemental-slave/run b/abs/core/runit-scripts/runitscripts/services/supplemental-slave/run
new file mode 100755
index 0000000..5be390d
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/supplemental-slave/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+#set -x
+exec 2>&1
+export TERM=linux
+MYTH_RUN_STATUS="1"
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/profile
+stat_runit "Starting supplemental web client"
+cd /data/srv/httpd/cgi
+exec sudo -u http  "./slaveserve.py" 2>/var/log/supplemental-slave.log
-- 
cgit v0.12

