View | Details | Raw Unified | Return to bug 4880
Collapse All | Expand All

(-)a/debian/scripts/koha-remove (-4 / +13 lines)
Lines 75-83 DROP DATABASE IF EXISTS \`koha_$name\`; Link Here
75
FLUSH PRIVILEGES;
75
FLUSH PRIVILEGES;
76
eof
76
eof
77
    fi #`
77
    fi #`
78
    
78
79
    # If the daemon is not running already, we don't want to fail this loop. So bin the result code if this fails.
79
    # Stop the Zebra server if needed
80
    koha-stop-zebra $name || /bin/true
80
    if is_zebra_running $name; then
81
        koha-stop-zebra $name || /bin/true
82
    fi
83
    # Stop the indexer daemon if needed
84
    if is_indexer_running $name; then
85
        koha-indexer --stop $name || /bin/true
86
    fi
87
    # Stop the Plack server if needed
88
    if is_plack_running $name; then
89
        koha-plack --stop $name || /bin/true
90
    fi
81
91
82
    instancefile=$(get_apache_config_for $name)
92
    instancefile=$(get_apache_config_for $name)
83
    le_opacdomain=$(letsencrypt_get_opacdomain_for $name)
93
    le_opacdomain=$(letsencrypt_get_opacdomain_for $name)
84
- 

Return to bug 4880