You are not logged in.

#1 2014-11-24 04:12:43

beej
Member
From: Bend, OR
Registered: 2009-01-27
Posts: 22
Website

Longer timeout in systemd basic.target?

fsck was taking longer than 15 minutes, and my system was abruptly halting partway through.

Turns out it was a timeout in /usr/lib/systemd/system/basic.target, so I modified it, like so:

#JobTimeoutSec=15min
JobTimeoutSec=45min

It feels Wrong to have modified the main /usr/lib/systemd file (like I should have something in /etc/systemd or somesuch), but I can't find a document that describes the Right way of doing this. Is there a better way?

Thanks!

Offline

#2 2014-11-24 04:47:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Longer timeout in systemd basic.target?

https://wiki.archlinux.org/index.php/Sy … unit_files



Not a Sysdamin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-11-24 05:07:51

beej
Member
From: Bend, OR
Registered: 2009-01-27
Posts: 22
Website

Re: Longer timeout in systemd basic.target?

"Units can be, for example, services (.service), mount points (.mount), devices (.device) or sockets (.socket)." I think the part I was missing was that a .target was also a unit. I'll see what I can do with that.

Thanks!

Offline

Board footer

Powered by FluxBB