From 1be9fd8a1cb0fb80d365646015fa8ad3b0450fc4 Mon Sep 17 00:00:00 2001 From: MALINGREY Adrien Date: Wed, 4 Feb 2026 14:34:17 +0000 Subject: [PATCH] renommage des fichiers en tchap-beta --- README.md | 4 ++-- tchapbeta.py => tchap-beta.py | 0 tchapbeta.servicee => tchap-beta.servicee | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename tchapbeta.py => tchap-beta.py (100%) rename tchapbeta.servicee => tchap-beta.servicee (52%) diff --git a/README.md b/README.md index 2eadae8..a9e9db8 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ Pour que les messages apparaissent authentifiés, il faut se connecter sur [Tcha En plus des commandes précédentes : ```bash +sudo cp tchap-beta.service /lib/systemd/system/ cd .. -mv tchap-beta /opt/tchap-beta -sudo cp /opt/tchap-beta/tchap-beta.service /lib/systemd/system/ +mv tchap-beta /opt/ sudo adduser --system chatbeta sudo systemctl enable --now tchap-beta.service ```` diff --git a/tchapbeta.py b/tchap-beta.py similarity index 100% rename from tchapbeta.py rename to tchap-beta.py diff --git a/tchapbeta.servicee b/tchap-beta.servicee similarity index 52% rename from tchapbeta.servicee rename to tchap-beta.servicee index 87ffcf5..c83764b 100644 --- a/tchapbeta.servicee +++ b/tchap-beta.servicee @@ -1,12 +1,12 @@ -# /lib/systemd/system/tchapbeta.service +# /lib/systemd/system/tchap-beta.service [Unit] Description=Tchap Beta After=network.target [Service] User=chatbeta -WorkingDirectory=/opt/tchapbeta -ExecStart=/opt/tchapbeta/.venv/bin/python tchapbeta.py +WorkingDirectory=/opt/tchap-beta +ExecStart=/opt/tchap-beta/.venv/bin/python tchap-beta.py Restart=always Environment=PYTHONUNBUFFERED=1