0

Almost every time I shutdown my PC I have to wait about a 2 minutes for:

A stop job is running for user manager for UID 1000

I know this is caused by the winedevice.exe process

Only way I found to solve it would be running:

kill -9 $(ps aux |grep -i '\.exe' |awk '{print $2}'|tr '\n' ' ')

But I would like this to be done automatically before shutting down or restarting

Or that systemd would kill the process instantly instead of waiting 2 minutes

I've tried in every way to create a service to do this but nothing works

I already reduced the time in /etc/systemd/system.conf but it doesn't work either...

Can anyone help?

1 Answer 1

0
cat $HOME/.config/systemd/user.conf

[Manager]
DefaultTimeoutStopSec=10s
1
  • Thanks a lot That worked
    – eusouobn
    Oct 16, 2022 at 0:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .