* init.d-script-does-not-source-init-functions
* init.d-script-does-not-implement-required-option
* init.d-script-missing-lsb-description
# Description: Enable Ceph distributed file system services.
### END INIT INFO
+. /lib/lsb/init-functions
+
# if we start up as ./mkcephfs, assume everything else is in the
# current directory too.
if [ `dirname $0` = "." ] && [ $PWD != "/etc/init.d" ]; then
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: radosgw RESTful rados gateway
+# Description: radosgw RESTful rados gateway
### END INIT INFO
PATH=/sbin:/bin:/usr/bin
do_unmap
;;
+ restart|force-reload)
+ $0 stop
+ $0 start
+ ;;
+
reload)
do_map
;;
;;
*)
- log_success_msg "Usage: rbdmap {start|stop|reload|status}"
+ log_success_msg "Usage: rbdmap {start|stop|restart|force-reload|reload|status}"
exit 1
;;
esac