From 10d3976cdea4714584b44d2b2b3f6380ebe95bc1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 16 Jan 2020 13:24:24 -0600 Subject: [PATCH] cephadm: stop the crash container the nice way Signed-off-by: Sage Weil --- src/cephadm/cephadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 5e09a37c7d259..270952edad72b 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1278,7 +1278,7 @@ def deploy_crash(fsid, uid, gid, config, keyring): '[Service]\n' 'Type=simple\n' 'ExecStart={cmd}\n' - 'ExecStop=-{container_path} rm -f ceph-{fsid}-crash\n' + 'ExecStop=-{container_path} stop ceph-{fsid}-crash\n' 'Restart=always\n' 'RestartSec=10\n' 'StartLimitInterval=10min\n' -- 2.39.5