Package ceph-mgr: Scripts

Post install

1
2
3
4
5
6
systemctl daemon-reload ||:
if [ "$1" -eq 1 ]; then
        systemctl -q preset ceph-mgr@\*.service ceph-mgr.target ||:
else
        systemctl try-restart ceph-mgr.target ||:
fi
Pre uninstall

1
2
3
4
if [ "$1" -eq 0 ]; then
        systemctl --no-reload -q disable ceph-mgr@\*.service ceph-mgr.target ||:
        systemctl stop ceph-mgr@\*.service ceph-mgr.target ||:
fi