Browse Source

refactoring handler

blezz-tech 2 days ago
parent
commit
f047f43071
1 changed files with 3 additions and 3 deletions
  1. 3 3
      handler@.service

+ 3 - 3
handler@.service

@@ -1,12 +1,12 @@
 [Unit]
-Description=ShariX Handler Open Basic Bot: $I
+Description=ShariX Handler: $I
 After=network.target
 
 [Service]
 Type=simple
 User=root
-WorkingDirectory=/root/sharix-open-webapp-base/webservice_running/handlers
-ExecStart=/root/sharix-open-webapp-base/webservice_running/handlers/.venv/bin/python3 /root/sharix-open-webapp-base/webservice_running/handlers/main.py -b %i -d
+WorkingDirectory=WORKING_DIRECTORY/webservice_running/handlers
+ExecStart=WORKING_DIRECTORY/webservice_running/handlers/.venv/bin/python3 WORKING_DIRECTORY/webservice_running/handlers/main.py -b %i -d
 # TODO: Убрать -d,, когжа не будет нужным
 Restart=always
 RestartSec=60s