Page MenuHomePhorge

Add example systemd unit for sshd in Diffusion docs
ClosedPublic

Authored by kuba-orlik on Dec 14 2023, 11:21.

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.