From d096433ab7ef7e7de92a862ca07082d2c355220b Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 6 Nov 2025 06:44:11 -0800 Subject: [PATCH] service refactor https://github.com/SpudGunMan/meshing-around/issues/256 --- etc/mesh_bot.tmp | 3 ++- etc/mesh_bot_w3_server.tmp | 3 ++- etc/pong_bot.tmp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/etc/mesh_bot.tmp b/etc/mesh_bot.tmp index 59637fa..5e628e2 100644 --- a/etc/mesh_bot.tmp +++ b/etc/mesh_bot.tmp @@ -13,7 +13,8 @@ User=pi Group=pi WorkingDirectory=/dir/ ExecStart=python3 mesh_bot.py -ExecStop=pkill -f mesh_bot.py +ExecStop= +KillSignal=SIGINT Environment=REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt Environment=SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt diff --git a/etc/mesh_bot_w3_server.tmp b/etc/mesh_bot_w3_server.tmp index abda9ce..a6d70da 100644 --- a/etc/mesh_bot_w3_server.tmp +++ b/etc/mesh_bot_w3_server.tmp @@ -8,7 +8,8 @@ User=pi Group=pi WorkingDirectory=/dir/ ExecStart=python3 modules/web.py -ExecStop=pkill -f mesh_bot_w3.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 diff --git a/etc/pong_bot.tmp b/etc/pong_bot.tmp index bf0a219..fb97d0e 100644 --- a/etc/pong_bot.tmp +++ b/etc/pong_bot.tmp @@ -13,7 +13,8 @@ User=pi Group=pi WorkingDirectory=/dir/ ExecStart=python3 pong_bot.py -ExecStop=pkill -f pong_bot.py +ExecStop= +KillSignal=SIGINT Environment=REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt Environment=SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt