#!/bin/sh
# prerm script for openlitespeed
#
# see: dh_installdeb(1)

#set -ex

#LSWS_HOME="/usr/local/lsws"

# stop the service before removal
/usr/local/lsws/bin/lswsctrl stop >/dev/null 2>&1

#uninstall the startup scripts
/usr/local/lsws/admin/misc/rc-uninst.sh >/dev/null 2>&1

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.


exit 0
