fix
This commit is contained in:
parent
0e71fe7abe
commit
9987500ac0
5 changed files with 14 additions and 32 deletions
|
|
@ -1,7 +0,0 @@
|
|||
[api]
|
||||
path = spectralvpn.db
|
||||
host =
|
||||
username =
|
||||
password =
|
||||
inbaund_id = 0
|
||||
inbaund_url = spectralvpn.ru:442
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue