open_handler@.service 515 B

123456789101112131415161718
  1. [Unit]
  2. Description=ShariX Handler Open Basic Bot: $I
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=root
  7. WorkingDirectory=/root/sharix-open-webapp-base/webservice_running/handlers
  8. 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
  9. # TODO: Убрать -d,, когжа не будет нужным
  10. Restart=always
  11. RestartSec=60s
  12. TimeoutStopSec=30
  13. KillSignal=SIGTERM
  14. [Install]
  15. WantedBy=multi-user.target