This commit is contained in:
Lev 2026-04-16 22:27:18 +03:00
parent 0e71fe7abe
commit 9987500ac0
5 changed files with 14 additions and 32 deletions

View file

@ -1,7 +0,0 @@
[api]
path = spectralvpn.db
host =
username =
password =
inbaund_id = 0
inbaund_url = spectralvpn.ru:442

View file

@ -1,16 +0,0 @@
[Unit]
Description=API SpectralVPN
After=network.target
Wants=network.target
[Service]
User = root
WorkingDirectory=/etc/spectralvpn_api
Environment="PATH=/etc/spectralvpn_api/.venv/bin"
ExecStart=/etc/spectralvpn_api/.venv/bin/uvicorn main:app
Restart=always
RestartSec=3
KillMode=control-group
[Install]
WantedBy=multi-user.target