Added an installer script

* Added an installer script

* Finished deployment script

---------

Co-authored-by: Cynopolis <megaveganzombie@gmail.com>
This commit is contained in:
CynopolisandCynopolis authored and GitHub committed 2025-04-02 11:54:23 -04:00
1 parent 4baed385d8
commit 976d2453a2
5 files changed
+55 -16

No files matched your search

@@ -0,0 +1,14 @@
[Unit]
Description=A simple chat interface and autoresponder for meshtastic
[Service]
Type=simple
WorkingDirectory=${WORKING_DIRECTORY}/
ExecStart=sudo ${WORKING_DIRECTORY}/meshtastic/bin/python -m flask --app ${WORKING_DIRECTORY}/app.py run --host=0.0.0.0 --port=80
Restart=always
User=quinn
StandardOutput=append:${WORKING_DIRECTORY}/logs/meshtastic_system.log
StandardError=append:${WORKING_DIRECTORY}/logs/meshtastic_system_error.log
[Install]
WantedBy=multi-user.target