ceph/debian/ceph-mds.prerm
Sage Weil 030bf8aaa1 debian: only start/stop upstart jobs if upstart is present
This avoids errors on non-upstart distros (like wheezy).

Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-29 17:01:55 -07:00

5 lines
62 B
Bash

#!/bin/sh
[ -x /sbin/stop ] && stop ceph-mds-all || :
exit 0