if ! is_sip_running $name; then
adjust_paths_dev_install $name
- export KOHA_CONF PERL5LIB
+ export KOHA_HOME PERL5LIB
+
if [ "$DEV_INSTALL" = "" ]; then
LIBDIR=$KOHA_HOME/lib
else
set_action "start" ;;
koha-stop-sip)
set_action "stop" ;;
+ koha-enable-sip)
+ set_action "enable" ;;
*)
break ;;
esac
if is_instance $name; then
+ export KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml"
+
case $op in
"start")
start_sip $name