summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/rhnop-client.standby.runit
diff options
context:
space:
mode:
Diffstat (limited to 'rhnop-client/debian/rhnop-client.standby.runit')
-rw-r--r--rhnop-client/debian/rhnop-client.standby.runit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rhnop-client/debian/rhnop-client.standby.runit b/rhnop-client/debian/rhnop-client.standby.runit
new file mode 100644
index 0000000..01b7527
--- /dev/null
+++ b/rhnop-client/debian/rhnop-client.standby.runit
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+exec 2>&1
+exec chpst -u rhnop:rhnop /usr/bin/nopcollectd standby