From 728aef882a0b3e9d6bbf6bf11ff1b9f10be69cc8 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 16 Oct 2013 23:14:35 +0200 Subject: [PATCH] MT#4465 Stop prosody service with mounted /proc --- deployment.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index a23c8c5..42f1dd1 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1244,13 +1244,15 @@ EOF ngcp-mediaproxy-ng-daemon \ ngcp-rate-o-mat \ ntp \ - prosody \ rsyslog \ sems ; \ do chroot $TARGET /etc/init.d/$service stop || true done + # prosody's init script requires mounted /proc + grml-chroot $TARGET /etc/init.d/prosody stop || true + # nuke files for i in $(find "$TARGET/var/log" -type f -size +0 -not -name \*.ini 2>/dev/null); do :> "$i"