refucktoring

This commit is contained in:
2025-08-24 15:07:18 +07:00
parent 16032df9b5
commit 40526b38bd
5 changed files with 188 additions and 42 deletions
+8 -1
View File
@@ -1,2 +1,9 @@
install:
@sudo cp -v main.py /usr/local/bin/butler.py
@sudo cp -v port-butler.service /etc/systemd/system/
@sudo cp -v config.ini /etc/butler.ini
sudo chmod a+x /usr/local/bin/butler.py
sudo systemctl daemon-reload
run:
bash -c 'nohup python3 main.py >nohup.out 2>&1 & disown'
sudo bash -c 'nohup python3 main.py >nohup.out 2>&1 & disown'