From ceebfc342a5b9f03d90915c315dca2185c0b4065 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 16 Jan 2020 17:21:28 -0600 Subject: [PATCH] cephadm: remove -crash container before starting it This matches up with what the @.service unit does. Signed-off-by: Sage Weil --- src/cephadm/cephadm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 270952edad7..7309a224c2f 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1277,6 +1277,7 @@ def deploy_crash(fsid, uid, gid, config, keyring): '\n' '[Service]\n' 'Type=simple\n' + 'ExecStartPre=-{container_path} rm ceph-{fsid}-crash\n' 'ExecStart={cmd}\n' 'ExecStop=-{container_path} stop ceph-{fsid}-crash\n' 'Restart=always\n' -- 2.47.3