summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-05 16:11:58 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-05 16:11:58 (GMT)
commit0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980 (patch)
tree9ce15b27998eb6bb1b358ccc860077eceabb6507 /abs/core
parentb708613a286e98a3a2fc30ae9624680e9ffd3901 (diff)
downloadlinhes_pkgbuild-0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980.zip
linhes_pkgbuild-0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980.tar.gz
linhes_pkgbuild-0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980.tar.bz2
runit-scripts: Add remyth service
refs #863
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/remyth/log/run7
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/remyth/run8
3 files changed, 16 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 17280f9..10b704a 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=82
+pkgrel=83
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/log/run b/abs/core/runit-scripts/runitscripts/services/remyth/log/run
new file mode 100755
index 0000000..3c669f5
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/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 remyth
+
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/run b/abs/core/runit-scripts/runitscripts/services/remyth/run
new file mode 100755
index 0000000..9d6975c
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting ReMyth"
+su http -s/bin/bash -c "node /usr/remyth/server.js"
+