I am running a simple service to tweak SSHD on first boot (the script is at the
bottom of this mail). This is on Debian Bookworm incase it makes any difference.
If I configure my service as:
[Unit]
Description=ITS Generate SSH Server Keys
Wants=ssh.service
Before=ssh.service
[Service]
ExecStart=
On 14.04.2024 16:48, Laura Smith wrote:
I am running a simple service to tweak SSHD on first boot (the script is at the
bottom of this mail). This is on Debian Bookworm incase it makes any difference.
If I configure my service as:
[Unit]
Description=ITS Generate SSH Server Keys
Wants=ssh.servi
On Sunday, 14 April 2024 at 15:21, Andrei Borzenkov wrote:
> If whatever your script does involves (re-)starting of sshd service, you
> have deadlock with "oneshot" - sshd service cannot proceed until your
> service startup completes and your service apparently waits on something
> that waits