All pastes #470418 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-04 08:19 UTC
rendered paste body
#!/bin/sh -e

NAME=mono-xsp2
DESC="XSP WebServer"

case "$1" in
   upgrade|install)
        if [ -f /etc/init.d/mono-xsp ]; then
            if which invoke-rc.d >/dev/null 2>&1; then
                invoke-rc.d mono-xsp2 stop
            else
                /etc/init.d/mono-xsp2 stop
            fi
        fi
        ;;
esac

exit 0