From 7644adfe64ea1113e42c838de49d540cc6182c1e Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 17 Mar 2016 00:00:58 +0100 Subject: [PATCH] add runit user services --- .gitignore | 5 +++++ services/mpd/run | 2 ++ services/urxvtd/conf | 2 ++ services/urxvtd/run | 3 +++ 4 files changed, 12 insertions(+) create mode 100755 services/mpd/run create mode 100644 services/urxvtd/conf create mode 100755 services/urxvtd/run diff --git a/.gitignore b/.gitignore index 8c89a51..57994c6 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,10 @@ vim/bundle vim/tmp vim/spell +# runit user services +services/*/supervise +services/*/lock +services/*/current + # other *.pyc diff --git a/services/mpd/run b/services/mpd/run new file mode 100755 index 0000000..a3b2dce --- /dev/null +++ b/services/mpd/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec mpd --no-daemon diff --git a/services/urxvtd/conf b/services/urxvtd/conf new file mode 100644 index 0000000..8752e87 --- /dev/null +++ b/services/urxvtd/conf @@ -0,0 +1,2 @@ +#!/bin/sh +export RXVT_SOCKET=/home/noctua/.urxvt/urxvtd-abysm diff --git a/services/urxvtd/run b/services/urxvtd/run new file mode 100755 index 0000000..cc544b0 --- /dev/null +++ b/services/urxvtd/run @@ -0,0 +1,3 @@ +#!/bin/sh +[ -r conf ] && . ./conf +exec /usr/bin/urxvtd -q