[Unit] Description=Ceph Manager After=docker.service [Service] EnvironmentFile=-/etc/environment ExecStartPre=-/usr/bin/docker stop ceph-mgr-node-0000008931 ExecStartPre=-/usr/bin/docker rm ceph-mgr-node-0000008931 ExecStart=/usr/bin/docker run --rm --net=host \ --memory=7981m \ --cpu-quota=100000 \ -v /var/lib/ceph:/var/lib/ceph:z \ -v /etc/ceph:/etc/ceph:z \ -v /var/run/ceph:/var/run/ceph:z \ -v /etc/localtime:/etc/localtime:ro \ -e CLUSTER=ceph \ -e CEPH_DAEMON=MGR \ -e MGR_DASHBOARD=0 \ --name=ceph-mgr-node-0000008931 \ 192.168.24.1:8787/ceph/daemon:v3.2.10-stable-3.2-luminous-centos-7-x86_64 ExecStopPost=-/usr/bin/docker stop ceph-mgr-node-0000008931 Restart=always RestartSec=10s TimeoutStartSec=120 TimeoutStopSec=15 [Install] WantedBy=multi-user.target