calm-agent-16830
09/21/2022, 9:23 PMpostinst (or equivalent) have a systemctl daemon-reload added before you try restarting the client? Otherwise I have to run that and restart the client every time you update the service filebored-island-21407
09/22/2022, 12:44 PM#!/bin/sh
set -e
systemctl preset netclient
if [ "$1" = upgrade ]; then
systemctl daemon-reload
systemctl enable netclient
systemctl restart netclient
ficalm-agent-16830
09/22/2022, 12:55 PMpreset. I would be tempted to change it about like this:
systemctl daemon-reload
systemctl preset netclient
systemctl enable netclient
systemctl restart netclientcalm-agent-16830
09/22/2022, 12:55 PM