Files
meshing-around/etc/mesh_bot_w3_server.tmp
SpudGunMan 180e9368e9 ""
2025-11-06 21:35:32 -08:00

23 lines
410 B
Plaintext

[Unit]
Description=MeshingAround-WebServer
After=network.target
[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=/dir/
ExecStart=python3 modules/web.py
ExecStop=
KillSignal=SIGINT
Environment="REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"
Environment="SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
Environment=PYTHONUNBUFFERED=1
Restart=on-failure
[Install]
WantedBy=multi-user.target