Added an installer script

* Added an installer script

* Finished deployment script

---------

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

View File

@@ -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