summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-05 21:41:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-05 21:41:15 (GMT)
commitca11d1169bc90abfe0f636bcb9285f43e2bbb862 (patch)
tree6f71dcaee3c3e2ac5aaca248c9fb87f0363d9517
parent2644df52d2262df23537438aa1e1b4294c2cd408 (diff)
downloadlinhes_pkgbuild-ca11d1169bc90abfe0f636bcb9285f43e2bbb862.zip
linhes_pkgbuild-ca11d1169bc90abfe0f636bcb9285f43e2bbb862.tar.gz
linhes_pkgbuild-ca11d1169bc90abfe0f636bcb9285f43e2bbb862.tar.bz2
runit-scripts: added mythexpress and remyth
refs #865 refs #863
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythexpress/log/run7
-rw-r--r--abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/lock0
-rw-r--r--abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/pid1
-rw-r--r--abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/stat1
-rw-r--r--abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/statusbin0 -> 20 bytes
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythexpress/run8
-rw-r--r--abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/lock0
-rw-r--r--abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/pid1
-rw-r--r--abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/stat1
-rw-r--r--abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/statusbin0 -> 20 bytes
11 files changed, 20 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 10b704a..1d4d3ed 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=83
+pkgrel=84
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/log/run b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/run
new file mode 100755
index 0000000..e6103bc
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+export TERM=linux
+#. /etc/rc.conf
+#. /etc/rc.d/functions
+/usr/bin/logger -p info -t mythexpress
+
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/lock b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/lock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/lock
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/pid b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/pid
new file mode 100644
index 0000000..823f8cf
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/pid
@@ -0,0 +1 @@
+2952
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/stat b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/stat
new file mode 100644
index 0000000..e7452fb
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/stat
@@ -0,0 +1 @@
+run, want exit
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/status b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/status
new file mode 100644
index 0000000..f85f336
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/status
Binary files differ
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/run b/abs/core/runit-scripts/runitscripts/services/mythexpress/run
new file mode 100755
index 0000000..3e58490
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting MythExpress"
+su http -s/bin/bash -c "node /usr/mythexpress/app.js"
+
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/lock b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/lock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/lock
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/pid b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/pid
new file mode 100644
index 0000000..823f8cf
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/pid
@@ -0,0 +1 @@
+2952
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/stat b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/stat
new file mode 100644
index 0000000..e7452fb
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/stat
@@ -0,0 +1 @@
+run, want exit
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/status b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/status
new file mode 100644
index 0000000..f85f336
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/status
Binary files differ