Add VK callback auth support and admin demotion
This commit is contained in:
15
deploy/systemd/anabasis-vk-callback.service
Normal file
15
deploy/systemd/anabasis-vk-callback.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Anabasis VK OAuth callback host
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/anabasis-chat-remove
|
||||
ExecStart=/usr/bin/python3 /opt/anabasis-chat-remove/deploy/vk_callback_server.py --host 127.0.0.1 --port 8787 --quiet
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
User=www-data
|
||||
Group=www-data
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user