Re: systemctl restart in script

2021-12-22 Thread Russell Coker via luv-main
On Wednesday, 22 December 2021 18:53:57 AEDT Andrew Pam wrote: > On 22/12/21 6:48 pm, Russell Coker via luv-main wrote: > > When pppd starts I have a script in /etc/ppp/ip-up.d that among other > > things restarts the wide dhcpv6 client. That hangs with the above in the > > process list, the time

Re: systemctl restart in script

2021-12-21 Thread Andrew Pam via luv-main
On 22/12/21 6:48 pm, Russell Coker via luv-main wrote: When pppd starts I have a script in /etc/ppp/ip-up.d that among other things restarts the wide dhcpv6 client. That hangs with the above in the process list, the time I noticed this was 18:34 so for 4 minutes it had been hung. When I ran

systemctl restart in script

2021-12-21 Thread Russell Coker via luv-main
root2006 0.0 0.0 2432 1772 ?S18:30 0:00 /bin/sh / etc/init.d/wide-dhcpv6-client restart root2012 0.0 0.0 7096 1308 ?S18:30 0:00 systemctl --no-pager restart wide-dhcpv6-client.service When pppd starts I have a script in /etc/ppp/ip-up.d that