From 0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 5 Nov 2012 10:11:58 -0600 Subject: runit-scripts: Add remyth service refs #863 --- abs/core/runit-scripts/PKGBUILD | 2 +- abs/core/runit-scripts/runitscripts/services/remyth/log/run | 7 +++++++ abs/core/runit-scripts/runitscripts/services/remyth/run | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 abs/core/runit-scripts/runitscripts/services/remyth/log/run create mode 100755 abs/core/runit-scripts/runitscripts/services/remyth/run 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" + -- cgit v0.12