diff options
Diffstat (limited to 'debian/gator-daemon/DEBIAN/postinst')
-rwxr-xr-x | debian/gator-daemon/DEBIAN/postinst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/gator-daemon/DEBIAN/postinst b/debian/gator-daemon/DEBIAN/postinst new file mode 100755 index 0000000..9a65d75 --- /dev/null +++ b/debian/gator-daemon/DEBIAN/postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +# Automatically added by dh_installinit +if [ -e "/etc/init/gator-daemon.conf" ]; then + invoke-rc.d gator-daemon start || exit $? +fi +# End automatically added section +# Automatically added by dh_installinit +update-rc.d -f gator-daemon remove >/dev/null || exit $? +# End automatically added section |