summaryrefslogtreecommitdiff
path: root/debian/etc/sv
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-01-15 18:14:23 +0000
committerMicah Anderson <micah@riseup.net>2014-01-17 15:53:14 -0500
commit07cc4e305e806a7bb236fbb8f6d9893a2011d85e (patch)
tree1bb9456f1beef19a916878d154966da825554cd5 /debian/etc/sv
parent65a973d6304de0098ad47c2df517a48f45ebe68a (diff)
initial debianization
Diffstat (limited to 'debian/etc/sv')
-rw-r--r--debian/etc/sv/bigcouch/log/run2
-rw-r--r--debian/etc/sv/bigcouch/run4
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/etc/sv/bigcouch/log/run b/debian/etc/sv/bigcouch/log/run
new file mode 100644
index 00000000..3195b018
--- /dev/null
+++ b/debian/etc/sv/bigcouch/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst svlogd -tt ./main
diff --git a/debian/etc/sv/bigcouch/run b/debian/etc/sv/bigcouch/run
new file mode 100644
index 00000000..875c3f02
--- /dev/null
+++ b/debian/etc/sv/bigcouch/run
@@ -0,0 +1,4 @@
+#!/bin/bash
+exec 2>&1
+export HOME=/home/bigcouch
+exec chpst -u bigcouch /opt/bigcouch/bin/bigcouch