Problem: When shutting the system down, whatever is doing the shutdown is bypassing the init system, basically thunking the system down without going through an orderly shutdown process. This means that, among other things various cleanup scripts I want to run at shutdown (ie clearing browser caches, whether violation of federal law or no) do not run. I note that debian also uses systemd, but does go through orderly shutdown.
Any idea what needs to be changed in order to make this work? I appreciate the fact that while some people want a quick shutdown, others might need/prefer the more traditional process. I have tried using sudo shutdown now (with and without -h and poweroff options, seems to make no difference) from the command line and it does not help; this appears to be an ubuntu matter and not kde specific.
In any event, the goal is to run various scripts at shutdown.
Or maybe is it just my system that is not running shutdown properly?
Any idea what needs to be changed in order to make this work? I appreciate the fact that while some people want a quick shutdown, others might need/prefer the more traditional process. I have tried using sudo shutdown now (with and without -h and poweroff options, seems to make no difference) from the command line and it does not help; this appears to be an ubuntu matter and not kde specific.
In any event, the goal is to run various scripts at shutdown.
Or maybe is it just my system that is not running shutdown properly?