summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
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"
+