This might be a case of dh_installinit --no-start, to avoid trying to start the service on installation? Alternatively, if the daemon exits with a special code when it is unconfigured, the unit could grow a SuccessExitStatus=8. But semantically that's slightly confusing as you don't really want to claim that the unit started successfully when in reality it's not running.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1488453 Title: Package postinst always fail on first install when using systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openhpi/+bug/1488453/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs