summaryrefslogtreecommitdiff
path: root/rhnop-server/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rhnop-server/debian/rules')
-rwxr-xr-xrhnop-server/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/rhnop-server/debian/rules b/rhnop-server/debian/rules
index d24a35f..f697191 100755
--- a/rhnop-server/debian/rules
+++ b/rhnop-server/debian/rules
@@ -34,6 +34,9 @@ install: build
dh_testroot
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/rhnop-server install
+ mkdir -p $(CURDIR)/debian/rhnop-server/etc/sv/rhnop-server
+ ln -s /var/run/sv.rhnop-server/ $(CURDIR)/debian/rhnop-server/etc/sv/rhnop-server/supervise
+ cp $(CURDIR)/debian/rhnop-server.runit $(CURDIR)/debian/rhnop-server/etc/sv/rhnop-server/run
# Build architecture-independent files here.
binary-indep: install