summaryrefslogtreecommitdiff
path: root/debian/etc/inet/run
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2008-02-14 02:58:07 +0100
committerGerrit Pape <pape@smarden.org>2008-02-14 02:58:07 +0100
commit3c7882064fcf2a40887d6d01152b4ae72ec0ddfb (patch)
tree1807045b127a38adb62481b91241cfbcd10a925c /debian/etc/inet/run
parent8aadf0650d07c3b3a6dc0a641b0bd5ed5a407bd5 (diff)
socklog (2.1.0-8) unstable; urgency=low
* debian/diff/socklog-conf-update-service.diff: new; refer to update-service(8) instead of symlinks in /var/service/. * debian/rules: target build: apply socklog-conf-update-service.diff. * debian/etc/klog/run: cut: fields and positions are numbered from 1, not 0. * debian/socklog-run.postinst, debian/socklog-run.prerm: use runit's update-service program to add/remove services from system-wide service supervision, instead of dealing with symlinks in /var/service/ directly. * debian/rules: no longer include dangling links for ./supervise/ subdirectories, update-service now takes care of this. * debian/socklog-run.postinst: remove socklog-unix, socklog-klog services on upgrade from <= 2.1.0-7, re-add afterwards through update-service, and restore ./supervise/ symlinks for other enabled socklog services. * debian/socklog-run.postrm: purge: adapt paths in /var/run/; force-stop socklog services; remove ./supervise/ subdirectories (or symlinks) in service directories. * debian/control: Standards-Version: 3.7.3.0. * debian/control: package socklog-run: Depends: runit (>= 1.8.0-2) (1st version that provides the update-service program). * debian/socklog.README.Debian: typo. [dgit import package socklog 2.1.0-8]
Diffstat (limited to 'debian/etc/inet/run')
-rw-r--r--debian/etc/inet/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/etc/inet/run b/debian/etc/inet/run
new file mode 100644
index 0000000..2eb3a3f
--- /dev/null
+++ b/debian/etc/inet/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -Unobody socklog inet 0 514