renommage des fichiers en tchap-beta

This commit is contained in:
MALINGREY Adrien
2026-02-04 14:34:17 +00:00
parent 361f22e014
commit 1be9fd8a1c
3 changed files with 5 additions and 5 deletions

View File

@@ -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
````

View File

@@ -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