From 15a6a70658fd07c7be9f756f58f216af91a6c07d Mon Sep 17 00:00:00 2001 From: dusk Date: Thu, 31 Jul 2025 23:46:27 +0300 Subject: [PATCH] docs: knot-hosting: describe how to configure the motd Change-Id: zlluxqqzpvlyxlxrlmqlyqmyyvnxtxuo Signed-off-by: dusk --- docs/knot-hosting.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/knot-hosting.md b/docs/knot-hosting.md index b1fa1e9..5e637c9 100644 --- a/docs/knot-hosting.md +++ b/docs/knot-hosting.md @@ -191,3 +191,15 @@ EOF ``` Make sure to restart your SSH server! + +#### MOTD (message of the day) + +To configure the MOTD used ("Welcome to this knot!" by default), edit the +`/home/git/motd` file: + +``` +echo "Hi from this knot!\n" > /home/git/motd +``` + +Note that you should add a newline at the end if setting a non-empty message +since the knot won't do this for you. -- 2.43.0