#!/bin/sh set -e #DEBHELPER# if [ -x /etc/init.d/nghttpx ]; then if invoke-rc.d --quiet nghttpx status > /dev/null 2>&1 ; then invoke-rc.d nghttpx upgrade || invoke-rc.d nghttpx restart exit $? else invoke-rc.d nghttpx start || exit $? fi fi exit 0