Page MenuHomePhorge

Add example systemd unit for sshd in Diffusion docs
ClosedPublic

Authored by kuba-orlik on Dec 14 2023, 11:21.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 22:43
Unknown Object (File)
Wed, Apr 17, 18:18
Unknown Object (File)
Wed, Apr 17, 06:43
Unknown Object (File)
Tue, Apr 16, 18:25
Unknown Object (File)
Tue, Apr 16, 07:58
Unknown Object (File)
Tue, Apr 16, 02:34
Unknown Object (File)
Thu, Apr 11, 12:23
Unknown Object (File)
Wed, Apr 10, 21:15
Tokens
"Love" token, awarded by 20after4."Love" token, awarded by valerio.bozzolan.

Details

Summary

The docs don't specify how to make the second sshd daemon start on every reboot.

I've added a unit that I use in my setup to the docs.

Ref T15467

Test Plan

Check that the docs look alright.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

valerio.bozzolan retitled this revision from Add an exapmle systemd unit for sshd in diffusion docs to Add example systemd unit for sshd in Diffusion docs.
valerio.bozzolan edited the summary of this revision. (Show Details)
valerio.bozzolan edited the test plan for this revision. (Show Details)

I really appreciate this, and I can confirm that this systemd service is almost exactly the one I have in my production. Premising that in my production I've added also:

After=network.target auditd.service mariadb.service
Requires=mariadb.service

But that is not easy to be generalized since people may have a local MySQL vs MariaDB vs whatever external database as a service.

My only tip is: maybe we can have this explicit description:

Description=Phorge SSH Daemon

So, thanks :)

This revision is now accepted and ready to land.Dec 14 2023, 11:36

For better syntax highlight feel free to adopt ,lang=ini in the code block. So, the line becomes:

name=/etc/systemd/system/phorge-ssh.service,lang=ini

  • Better syntax highlighting
This revision was landed with ongoing or failed builds.Dec 18 2023, 09:55
This revision was automatically updated to reflect the committed changes.