EnvironmentFile=-/etc/sysconfig/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=ceph.target
EnvironmentFile=-/etc/sysconfig/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=ceph.target
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i
ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
+ExecReload=/bin/kill -HUP $MAINPID
LimitNOFILE=131072
[Install]
systemctl "${action}" "ceph-mon@${config}.service" || RC=1
else
case $action in
- start | stop | status | enable | disable | restart | is-active | is-failed | show | kill | reset-failed )
+ start | stop | status | enable | disable | restart | is-active | is-failed | show | kill | reset-failed | reload )
n=0
if test -n ${lmon} ; then
for s in ${lmon#=${prefix}} ; do
;;
*)
echo "Invalid paramter : $action"
- echo "Valid paramters : start | stop | status | enable | disable | restart | is-active | is-failed | show | kill | reset-failed"
+ echo "Valid paramters : start | stop | status | enable | disable | restart | is-active | is-failed | show | kill | reset-failed | reload"
;;
esac
fi