DefaultTimeoutStartSec with systemd

Issues related to applications and software problems
Post Reply
yugher
Posts: 18
Joined: 2017/02/13 19:24:40

DefaultTimeoutStartSec with systemd

Post by yugher » 2019/05/17 10:19:59

Hi,
is DefaultTimeoutStartSec related to every systemd unit?
I am asking this because generally during boot I notice some process hung and the timer says: xx seconds / 90 seconds (the default settings).
Today I saw a similar behavior with rc.local but the timer reported xx seconds / no limit.

So my question is: if I set DefaultTimeoutStartSec to 15 seconds (for example), is this configuration valid for every unit?
rc.local is handled by other settings?
Thank you!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: DefaultTimeoutStartSec with systemd

Post by TrevorH » 2019/05/17 11:25:43

man systemd-system.conf then search for DefaultTimeoutStartSec= and page backwards to the start of the section

A good starting point for most systemd/systemctl parameters is to read man systemd.directives and search that for the thing you're interested in. That then shows you which systemd man page the detail of the parameter can be found in.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply