Because we are relying on docker|podman for managing containers then we
don't need systemd to manage the process (like kill).
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit
5a03e0ee1c840e9632b21e1fd8f8d88c9b736d8b)
-e GF_INSTALL_PLUGINS={{ grafana_plugins|join(',') }} \
{{ grafana_container_image }}
ExecStop=-/usr/bin/{{ container_binary }} stop grafana-server
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--name=rbd-target-api \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop rbd-target-api
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--name=rbd-target-gw \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop rbd-target-gw
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--name=tcmu-runner \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop tcmu-runner
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--name=ceph-mds-{{ ansible_hostname }} \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop ceph-mds-{{ ansible_hostname }}
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--name=ceph-mgr-{{ ansible_hostname }} \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop ceph-mgr-{{ ansible_hostname }}
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
{{ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStop=-/usr/bin/{{ container_binary }} stop ceph-mon-%i
ExecStopPost=-/bin/rm -f /var/run/ceph/{{ cluster }}-mon.{{ monitor_name }}.asok
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--name=ceph-nfs-{{ ceph_nfs_service_suffix | default(ansible_hostname) }} \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop ceph-nfs-%i
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--no-collector.timex \
--web.listen-address=:{{ node_exporter_port }}
ExecStop=-/usr/bin/{{ container_binary }} stop node-exporter
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
ExecStartPre=-/usr/bin/{{ container_binary }} rm -f ceph-osd-%i
ExecStart={{ ceph_osd_docker_run_script_path }}/ceph-osd-run.sh %i
ExecStop=-/usr/bin/{{ container_binary }} stop ceph-osd-%i
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--web.external-url=http://{{ ansible_fqdn }}:{{ alertmanager_port }}/ \
--web.listen-address={{ grafana_server_addr }}:{{ alertmanager_port }}
ExecStop=/usr/bin/{{ container_binary }} stop alertmanager
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
--web.external-url=http://{{ ansible_fqdn }}:{{ prometheus_port }}/ \
--web.listen-address=:{{ prometheus_port }}
ExecStop=/usr/bin/{{ container_binary }} stop prometheus
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
{{ ceph_rbd_mirror_docker_extra_env }} \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop ceph-rbd-mirror-{{ ansible_hostname }}
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120
{{ ceph_rgw_docker_extra_env }} \
{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}
ExecStopPost=-/usr/bin/{{ container_binary }} stop ceph-rgw-{{ ansible_hostname }}-${INST_NAME}
+KillMode=none
Restart=always
RestartSec=10s
TimeoutStartSec=120