]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: stop the crash container the nice way
authorSage Weil <sage@redhat.com>
Thu, 16 Jan 2020 19:24:24 +0000 (13:24 -0600)
committerSage Weil <sage@redhat.com>
Thu, 16 Jan 2020 19:25:53 +0000 (13:25 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm

index 5e09a37c7d25989c68774b0d44dbc367064633a0..270952edad72becf492da38df9720b8c49abbb9c 100755 (executable)
@@ -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'