Article 5C4B5 [systemctl enable] how to modify the waiting time at startup

[systemctl enable] how to modify the waiting time at startup

by
thomasbb
from LinuxQuestions.org on (#5C4B5)
Some time ago, I enabled a dhcpcd service to have Internet access through my mobile by USB:
Code:sudo enable dhcpcd@enp0s26f7u2.serviceBut now, I plan to use an ethernet link, without disabling the service. The problem is that at startup, "a start job is running"... Is there a way to reduce the waiting time from 1'30" to say 10"?

When I type systemctl cat dhcpcd @ enp0s26f7u2.service, I get:
Code:$ systemctl cat dhcpcd@enp0s26f7u2.service
# /usr/lib/systemd/system/dhcpcd@.service
[Unit]
Description=dhcpcd on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
Type=forking
PIDFile=/run/dhcpcd/%I.pid
ExecStart=/usr/bin/dhcpcd -q -w %I
ExecStop=/usr/bin/dhcpcd -x %I

[Install]
WantedBy=multi-user.targetis there a way to add a timer there?latest?d=yIl2AUoC8zA latest?i=5sp9Of4QY9c:_gNmmnbbuj8:F7zBnMy latest?i=5sp9Of4QY9c:_gNmmnbbuj8:V_sGLiP latest?d=qj6IDK7rITs latest?i=5sp9Of4QY9c:_gNmmnbbuj8:gIN9vFw5sp9Of4QY9c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments