]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Use invoke-rc.d in maintainer scripts 304/head
authorJames Page <james.page@ubuntu.com>
Tue, 21 May 2013 08:20:53 +0000 (09:20 +0100)
committerJames Page <james.page@ubuntu.com>
Tue, 21 May 2013 08:22:39 +0000 (09:22 +0100)
commit19c5ac37ef87aeb3d3c30aa35cd61b6f3a8414bf
treefc22e6a8dbb8493c77f0370dc5f011fd2277b83d
parent183280c864023ec21a3aa605a7fce0ed0407ce8d
Use invoke-rc.d in maintainer scripts

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/ceph-mds.postinst
debian/ceph-mds.prerm
debian/ceph.postinst
debian/ceph.prerm