[systemd-devel] stress test on systemd/dbus

2024-12-12 Thread Yan, Haixiao (CN)
Hi, I have a stress test on systemd/dbus, after 17h, dbus-daemon is sleeping and the context switching stops (voluntary_ctxt_switches stop increasing). The systemd version is 250.5 based on yocto. Here is the test script. /etc/systemd/system/stress-test@.timer # Timer for stress testing syst

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-12 Thread David Elie-Dit-Cosaque
Hi Andrei, Thanks a lot, it worked! Sorry I didn't get it the first time. David On Thu, Dec 12, 2024 at 8:05 AM David Elie-Dit-Cosaque wrote: > > That is what I told you already. > > > > mkdir /etc/systemd/system/crio-.scope.d > > echo "[Unit]" > /etc/systemd/system/crio-.scope.d/order.conf > >

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-12 Thread David Elie-Dit-Cosaque
> That is what I told you already. > > mkdir /etc/systemd/system/crio-.scope.d > echo "[Unit]" > /etc/systemd/system/crio-.scope.d/order.conf > echo "Before=myscript.service" >> > /etc/systemd/system/crio-.scope.d/order.conf Ah I see, I did not understand this before. I'll try it. Thanks ! David