#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/aprx" ]; then
	update-rc.d aprx defaults >/dev/null
	if [ -n "$2" ]; then
		_dh_action=restart
	else
		_dh_action=start
	fi
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d aprx $_dh_action || exit $?
	else
		/etc/init.d/aprx $_dh_action || exit $?
	fi
fi
# End automatically added section
