This commit is contained in:
SpudGunMan
2025-11-06 21:35:32 -08:00
parent 2c7a753cb5
commit 180e9368e9
3 changed files with 6 additions and 6 deletions

View File

@@ -15,8 +15,8 @@ WorkingDirectory=/dir/
ExecStart=python3 mesh_bot.py ExecStart=python3 mesh_bot.py
ExecStop= ExecStop=
KillSignal=SIGINT KillSignal=SIGINT
Environment=REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt Environment="REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"
Environment=SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt Environment="SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
# Disable Python's buffering of STDOUT and STDERR, so that output from the # Disable Python's buffering of STDOUT and STDERR, so that output from the
# service shows up immediately in systemd's logs # service shows up immediately in systemd's logs

View File

@@ -10,8 +10,8 @@ WorkingDirectory=/dir/
ExecStart=python3 modules/web.py ExecStart=python3 modules/web.py
ExecStop= ExecStop=
KillSignal=SIGINT KillSignal=SIGINT
Environment=REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt Environment="REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"
Environment=SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt Environment="SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
Environment=PYTHONUNBUFFERED=1 Environment=PYTHONUNBUFFERED=1
Restart=on-failure Restart=on-failure

View File

@@ -15,8 +15,8 @@ WorkingDirectory=/dir/
ExecStart=python3 pong_bot.py ExecStart=python3 pong_bot.py
ExecStop= ExecStop=
KillSignal=SIGINT KillSignal=SIGINT
Environment=REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt Environment="REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"
Environment=SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt Environment="SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
# Disable Python's buffering of STDOUT and STDERR, so that output from the # Disable Python's buffering of STDOUT and STDERR, so that output from the
# service shows up immediately in systemd's logs # service shows up immediately in systemd's logs