the only difference is that reload-or-try-restart does not do anything if the service is not started already.
on upgrade, we explicitely check if the service is enabled, and only then do this action. so it would now start daemons that were stopped but not disabled (which is not really valid state anyway) this starts new daemons (like the pvescheduler) automatically on a package upgrade Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index f6407178..7be1aa3d 100755 --- a/debian/postinst +++ b/debian/postinst @@ -181,7 +181,7 @@ case "$1" in # modeled after code generated by dh_start for unit in ${UNITS}; do if test -n "$2"; then - dh_action="reload-or-try-restart"; + dh_action="reload-or-restart"; else dh_action="start" fi -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel