On Mon, 11 Apr 2022 at 09:58:54 +0200, Lennart Poettering wrote:
> dbus-daemon for example uses:
>
> ExecReload=/usr/bin/busctl call org.freedesktop.DBus
> /org/freedesktop/DBus org.freedesktop.DBus ReloadConfig
>
> Which is a synchronous call to reload the config: the daemon is told
> to re
On Sa, 09.04.22 19:20, Leon Fauster (leonfaus...@googlemail.com) wrote:
> It seems that killing with USR1|USR2|HUP is commonly used:
>
> $ grep -R ExecReload /usr/lib/systemd/|grep -v kill|wc -l
> 19
> $ grep -R ExecReload /usr/lib/systemd/|grep kill|wc -l
> 27
Yes. I am aware. It's less than ide
On Sa, 09.04.22 08:00, Yolo von BNANA (y...@bnana.de) wrote:
> --- Original Message ---
> On Friday, April 8th, 2022 at 13:49, Lennart Poettering
> wrote:
>
> > This could be done better. Plugging in just a "kill" here, means the
> > reload is async. i.e. "systemctl reload" will basicall
Am 09.04.22 um 10:00 schrieb Yolo von BNANA:
--- Original Message ---
On Friday, April 8th, 2022 at 13:49, Lennart Poettering
wrote:
This could be done better. Plugging in just a "kill" here, means the
reload is async. i.e. "systemctl reload" will basically return
immediately without
On 09/04/2022 09:00, Yolo von BNANA wrote:
Can you please explain this in more Detail?
What does this mean: " "systemctl reload" will basically return
immediately without the reload being complete"?
And what is an Example for an synchronous command for ExecReload=
Do you understand the differe
--- Original Message ---
On Friday, April 8th, 2022 at 13:49, Lennart Poettering
wrote:
> This could be done better. Plugging in just a "kill" here, means the
> reload is async. i.e. "systemctl reload" will basically return
> immediately without the reload being complete, thus subsequent
On Do, 07.04.22 15:38, Kenneth Porter (sh...@sewingwitch.com) wrote:
> --On Thursday, April 07, 2022 12:30 PM +0200 Lennart Poettering
> wrote:
>
> > The other two options are likely similar, i.e. synchronous and talk to
> > smbd directly. But I don't know samba that well, so it's just an
> > ass
--On Thursday, April 07, 2022 12:30 PM +0200 Lennart Poettering
wrote:
The other two options are likely similar, i.e. synchronous and talk to
smbd directly. But I don't know samba that well, so it's just an
assumption. In fact, if ExecStop= in smbd.service just calls the
smbcontrol they behave
On Mi, 06.04.22 06:21, Yolo von BNANA (y...@bnana.de) wrote:
> What is the best way to reload the Samba Configuration – and why?
>
> 1. systemctl reload smbd
> 2. smbcontrol smbd reload-config
> 3. pkill -HUP smbd
>
> I think it's this Order. (1 is best)
> But I couldn't explain it to somebody els