Package: dh-runit Version: 2.8.13.2 Followup-For: Bug #934500 The patch for 'update-service' is attached
-- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.20.3-van (SMP w/4 CPU cores; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) Versions of packages dh-runit depends on: ii debhelper 12.4 ii libfile-copy-recursive-perl 0.44-1 ii libfile-slurp-perl 9999.27-1 ii libtext-hogan-perl 2.01-1 dh-runit recommends no packages. dh-runit suggests no packages. -- no debconf information
>From 200a8e68089a30177798e1e5f5e6c6def45fef64 Mon Sep 17 00:00:00 2001 From: Lorenzo Puliti <[email protected]> Date: Mon, 19 Aug 2019 14:58:38 +0200 Subject: [PATCH] update-service: move supervise directories in tmpfs Move log and service's supervise directories under /run/ tmpfs (they were in /var/ previously) --- debian/contrib/update-service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/contrib/update-service b/debian/contrib/update-service index 7e72501..83f0ff8 100644 --- a/debian/contrib/update-service +++ b/debian/contrib/update-service @@ -63,11 +63,11 @@ case "$opt" in if test "${svdir#/etc/}" != "$svdir"; then if test ! -h "$svdir"/supervise; then rm -rf "$svdir"/supervise - ln -s /var/lib/runit/supervise/"$sv" "$svdir"/supervise + ln -s /run/runit/supervise/"$sv" "$svdir"/supervise fi if test -d "$svdir"/log && test ! -h "$svdir"/log/supervise; then rm -rf "$svdir"/log/supervise - ln -s /var/lib/runit/log/supervise/"$sv" "$svdir"/log/supervise + ln -s /run/runit/supervise/"$sv".log "$svdir"/log/supervise fi fi ln -s "$svdir" "$servicedir"/"$sv" -- 2.23.0.rc1

