summaryrefslogtreecommitdiff
path: root/rhnop-server/debian/rhnop-server.runit
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-02 16:03:14 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-02 16:03:14 (GMT)
commit96889f1baf748b33f65398c79c03b439eaa0f3ef (patch)
tree7a6941dc54ca23997f4b3504fcd3882ccd2a8a9e /rhnop-server/debian/rhnop-server.runit
parent5524ae404ffb897ca60162819502e4a9bd7d9599 (diff)
fixed runit script
added log service to runit switched to microseconds for timestamps
Diffstat (limited to 'rhnop-server/debian/rhnop-server.runit')
-rw-r--r--rhnop-server/debian/rhnop-server.runit4
1 files changed, 3 insertions, 1 deletions
diff --git a/rhnop-server/debian/rhnop-server.runit b/rhnop-server/debian/rhnop-server.runit
index b559b3e..37b0795 100644
--- a/rhnop-server/debian/rhnop-server.runit
+++ b/rhnop-server/debian/rhnop-server.runit
@@ -1,3 +1,5 @@
#!/bin/sh
+set -e
-chpst -u rhnop:rhnop /usr/bin/nopsyncd
+exec 2>&1
+exec chpst -u rhnop:rhnop /usr/bin/nopsyncd