From 450de7eeb088302ce912e8d24ef6e1f880d936a3 Mon Sep 17 00:00:00 2001 From: Luke Morfitt Date: Mon, 20 Jul 2015 13:59:27 +0100 Subject: [PATCH] Attempt to allow RHEL5(and derivatives) which use a old chroot version to run --- templates/sysv/lsb-3.1/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sysv/lsb-3.1/init.sh b/templates/sysv/lsb-3.1/init.sh index be0a0d5..fce9be5 100644 --- a/templates/sysv/lsb-3.1/init.sh +++ b/templates/sysv/lsb-3.1/init.sh @@ -60,7 +60,7 @@ start() { # Run the program! {{#nice}}nice -n "$nice" \{{/nice}} - chroot --userspec "$user":"$group" "$chroot" sh -c " + sh -c " {{{ulimit_shell}}} cd \"$chdir\" exec \"$program\" $args