[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: funsub questions
From: |
Zachary Santer |
Subject: |
Re: funsub questions |
Date: |
Wed, 13 Dec 2023 23:16:11 -0500 |
On Wed, Dec 13, 2023 at 11:06 PM Greg Wooledge <greg@wooledge.org> wrote:
> Is that on a system that lacks a process manager? Something like
> "systemctl reload ssh" or "service ssh reload" would be preferred from
> a system admin POV, on systems that have process managers.
I am not super knowledgeable in this kind of stuff, but would that not
cause you to lose your SSH connection?
> And before bash 5.2,
>
> read -r pid < /var/run/sshd.pid && sudo kill -s SIGHUP "$pid"
>
> would be more efficient, on systems where no process manager is in use.
Yeah, that's fair. This is in the interactive shell, though, so how
long it takes to run isn't a huge concern.
Re: funsub questions, Andreas Schwab, 2023/12/14
Re: funsub questions, Kerin Millar, 2023/12/13