Files
Remote-Terminal-for-MeshCore/remoteterm.service
2026-01-06 20:33:39 -08:00

24 lines
547 B
Desktop File

[Unit]
Description=RemoteTerm for MeshCore
After=network.target
[Service]
Type=simple
User=remoteterm
Group=remoteterm
WorkingDirectory=/opt/remoteterm
ExecStart=/opt/remoteterm/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000
Restart=always
RestartSec=5
# Environment
Environment=MESHCORE_DATABASE_PATH=/opt/remoteterm/data/meshcore.db
# Uncomment and set if auto-detection doesn't work:
# Environment=MESHCORE_SERIAL_PORT=/dev/ttyUSB0
# Give access to serial devices
SupplementaryGroups=dialout
[Install]
WantedBy=multi-user.target