From 084181d3c2b6921913bd5533d4b0c622e39fe53d Mon Sep 17 00:00:00 2001 From: liamcottle Date: Wed, 27 Nov 2024 20:44:38 +1300 Subject: [PATCH] add docs for systemd service --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index e01705b..38cae95 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,19 @@ npm run build node server.js --port 8080 --meshtastic-api-url https://127.0.0.1 ``` +**Systemd Service** + +A systemd service file is available and can be installed with the following commands: + +``` +sudo cp meshtxt.service /etc/systemd/system/meshtxt.service +sudo systemctl enable meshtxt.service +sudo systemctl start meshtxt.service +sudo systemctl status meshtxt.service +``` + +> Note: Make sure to update the usernames in the service file if needed. + ## TODO - Pagination message history instead of loading all at once