summaryrefslogtreecommitdiffstats
path: root/debian/ceph-mds.postinst (follow)
Commit message (Collapse)AuthorAgeFilesLines
* debian: do not use upstart to start/stop servicesKefu Chai2024-02-031-2/+0
| | | | | | | we dropped the support of upstart back in 2c755cef. there is no need to support it anymore. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* debian: fix /var/lib/ceph/* directory ownershipSage Weil2015-08-271-0/+8
| | | | | | | These dirs are owned by the package; make sure they are owend by the ceph user. Signed-off-by: Sage Weil <sage@redhat.com>
* debian: guard upstart {start,stop} with -x checkSage Weil2013-05-311-1/+1
| | | | | | Sigh. Signed-off-by: Sage Weil <sage@inktank.com>
* debian: invoke-rc.d does not work with upstart jobsSage Weil2013-05-311-8/+1
| | | | | | Broken by 19c5ac37ef87aeb3d3c30aa35cd61b6f3a8414bf. Signed-off-by: Sage Weil <sage@inktank.com>
* Use invoke-rc.d in maintainer scriptsJames Page2013-05-211-1/+9
| | | | | | | | | | | Upstart configurations and sysv init scripts should be started and stopped using invoke-rc.d in maintainer scripts. This ensures the correct behaviour across both Debian (sysv) and Ubuntu (upstart) and in restricted environments such as schroot where start/stop of services from maintainer scripts is normally disabled. Signed-off-by: James Page <james.page@ubuntu.com>
* debian: only start/stop upstart jobs if upstart is presentSage Weil2013-04-301-1/+1
| | | | | | This avoids errors on non-upstart distros (like wheezy). Signed-off-by: Sage Weil <sage@inktank.com>
* debian: add start ceph-mds-all on ceph-mds installSage Weil2013-03-141-0/+42
This ensures that when we then start individual mds instances, we can stop ceph-mds-all and they will get stopped. We do the same already for ceph-all. Signed-off-by: Sage Weil <sage@inktank.com>