User Tools

Site Tools


simple-bpq-telnet-application

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
simple-bpq-telnet-application [2024/11/29 14:55] – [Configuring this as a service] kc2ihxsimple-bpq-telnet-application [2024/11/29 14:57] (current) kc2ihx
Line 5: Line 5:
   - Create a location for the script, data, and a python ''venv''   - Create a location for the script, data, and a python ''venv''
   - Write the script   - Write the script
 +  - Add the application to ''BPQ32.cfg''
   - Setup a ''systemd'' service to keep it running.   - Setup a ''systemd'' service to keep it running.
  
Line 101: Line 102:
 <code> <code>
 # service for RRoAX25 server # service for RRoAX25 server
 +# replace USER with the username under which you created the bpq-apps venv
  
 [Unit] [Unit]
Line 108: Line 110:
 [Service] [Service]
 Type=simple Type=simple
-WorkingDirectory=/home/indiahotelxray/.local/bpq-apps/ +WorkingDirectory=/home/USER/.local/bpq-apps/ 
-ExecStart=/home/indiahotelxray/.local/bpq-apps/bin/python /home/indiahotelxray/.local/bpq-apps/scripts/rick.py -p 10001 -f /home/indiahotelxray/.local/bpq-apps/data/messages.json+ExecStart=/home/USER/.local/bpq-apps/bin/python /home/USER/.local/bpq-apps/scripts/rick.py -p 10001 -f /home/USER/.local/bpq-apps/data/messages.json
 Restart=always Restart=always
  
simple-bpq-telnet-application.1732892132.txt.gz · Last modified: 2024/11/29 14:55 by kc2ihx