docs: knot-hosting: describe how to configure the motd #384

merged
opened by ptr.pet targeting master from ptr.pet/core: master
Changed files
+12
docs
+12
docs/knot-hosting.md
···
```
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.