3 # Provides: sipb-xen-remctl-auto
4 # Required-Start: $local_fs $remote_fs
5 # Required-Stop: $local_fs $remote_fs
6 # Default-Start: 2 3 4 5
8 # Short-Description: conserver config from invirt config for invirt host
12 PACKAGE=sipb-xen-remctl-auto
14 . /lib/lsb/init-functions
18 echo "host/$(invirt-getconf remote.hostname)@$(invirt-getconf authn.0.realm)" \
19 > /etc/remctl/acl/remote
23 start|reload|force-reload|restart)
24 log_begin_msg "Reloading config for $PACKAGE"
31 log_success_msg "Usage: /etc/init.d/$PACKAGE {start|reload|force-reload|restart|stop}"