Debian Codegraph @

debian/nghttp2-proxy.postinst

raw
1 #!/bin/sh
2 set -e
3
4 #DEBHELPER#
5
6 if [ -x /etc/init.d/nghttpx ]; then
7 if invoke-rc.d --quiet nghttpx status > /dev/null 2>&1 ; then
8 invoke-rc.d nghttpx upgrade || invoke-rc.d nghttpx restart
9 exit $?
10 else
11 invoke-rc.d nghttpx start || exit $?
12 fi
13 fi
14
15 exit 0