mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
22 lines
411 B
Plaintext
22 lines
411 B
Plaintext
[Unit]
|
|
Description=MeshingAround-WebServer
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
Group=pi
|
|
WorkingDirectory=/dir/
|
|
ExecStart=python3 modules/web.py
|
|
ExecStop=pkill -f mesh_bot_w3.py
|
|
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
|
|
|
|
|
|
|