diff options
author | Gerrit Pape <pape@smarden.org> | 2008-03-02 15:47:19 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2008-03-02 15:47:19 +0000 |
commit | ca207a6bfaaccd58a78f9015c6b87a2cef2ae754 (patch) | |
tree | adc0430bf7c3f4b63a4268308c311ac25829ddb8 | |
parent | fb7dc4df1d4e5f70e61db0b464276bcae33bb62a (diff) | |
download | runit-ca207a6bfaaccd58a78f9015c6b87a2cef2ae754.tar.gz runit-ca207a6bfaaccd58a78f9015c6b87a2cef2ae754.tar.xz runit-ca207a6bfaaccd58a78f9015c6b87a2cef2ae754.zip |
* debian/runit.postinst: do not kill and restart runsvdir at all (closes: debian-1.8.0-5
#468642); it'll still run in /var/service/, but a backward compatibility symlink is provided.
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/runit.postinst | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog index 4f96e3f..50b23a1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +runit (1.8.0-5) unstable; urgency=low + + * debian/runit.postinst: do not kill and restart runsvdir at all (closes: + #468642); it'll still run in /var/service/, but a backward compatibility + symlink is provided. + + -- Gerrit Pape <pape@smarden.org> Sun, 02 Mar 2008 15:42:22 +0000 + runit (1.8.0-4) unstable; urgency=low * debian/runit.preinst: /etc/service transition: check whether diff --git a/debian/runit.postinst b/debian/runit.postinst index 498ccc2..fb781c8 100644 --- a/debian/runit.postinst +++ b/debian/runit.postinst @@ -53,11 +53,3 @@ if ! grep '^SV:' /etc/inittab >/dev/null; then mv -f /etc/inittab'{new}' /etc/inittab exec kill -s HUP 1 fi - -if test -n "$2" && dpkg --compare-versions "$2" le '1.8.0-2'; then - # d'oh, need to lookup runsvdir's pid to send HUP ;( - ps -C runsvdir -o pid=,ppid= >/dev/null || - echo >&2 "WARNING: no runsvdir process with parent pid 1 found." - ps -C runsvdir -o pid=,ppid= | - while read pid ppid; do test "$ppid" != 1 || exec kill -s HUP $pid; done -fi |