- rm -f, not stop, so we don't leave things lingering in 'podman ps -a'
output
- this also seems to fix/work around a problem where stopping the container
leaves the daemon running?
Signed-off-by: Sage Weil <sage@redhat.com>
'[Service]\n'
'Type=simple\n'
'ExecStart={cmd}\n'
- 'ExecStop=-{container_path} stop ceph-{fsid}-crash\n'
+ 'ExecStop=-{container_path} rm -f ceph-{fsid}-crash\n'
'Restart=always\n'
'RestartSec=10\n'
'StartLimitInterval=10min\n'
ExecStartPre=-{container_path} rm ceph-{fsid}-%i
ExecStartPre=-{install_path} -d -m0770 -o {uid} -g {gid} /var/run/ceph/{fsid}
ExecStart=/bin/bash {data_dir}/{fsid}/%i/cmd
-ExecStop=-{container_path} stop ceph-{fsid}-%i
+ExecStop=-{container_path} rm -f ceph-{fsid}-%i
Restart=on-failure
RestartSec=10s
TimeoutStartSec=120