From ca11d1169bc90abfe0f636bcb9285f43e2bbb862 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 5 Nov 2012 15:41:15 -0600 Subject: runit-scripts: added mythexpress and remyth refs #865 refs #863 --- abs/core/runit-scripts/PKGBUILD | 2 +- .../runitscripts/services/mythexpress/log/run | 7 +++++++ .../runitscripts/services/mythexpress/log/supervise/lock | 0 .../runitscripts/services/mythexpress/log/supervise/pid | 1 + .../runitscripts/services/mythexpress/log/supervise/stat | 1 + .../runitscripts/services/mythexpress/log/supervise/status | Bin 0 -> 20 bytes .../runit-scripts/runitscripts/services/mythexpress/run | 8 ++++++++ .../runitscripts/services/remyth/log/supervise/lock | 0 .../runitscripts/services/remyth/log/supervise/pid | 1 + .../runitscripts/services/remyth/log/supervise/stat | 1 + .../runitscripts/services/remyth/log/supervise/status | Bin 0 -> 20 bytes 11 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 abs/core/runit-scripts/runitscripts/services/mythexpress/log/run create mode 100644 abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/lock create mode 100644 abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/pid create mode 100644 abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/stat create mode 100644 abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/status create mode 100755 abs/core/runit-scripts/runitscripts/services/mythexpress/run create mode 100644 abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/lock create mode 100644 abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/pid create mode 100644 abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/stat create mode 100644 abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/status 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 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 Binary files /dev/null and b/abs/core/runit-scripts/runitscripts/services/mythexpress/log/supervise/status 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 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 Binary files /dev/null and b/abs/core/runit-scripts/runitscripts/services/remyth/log/supervise/status differ -- cgit v0.12