БГ
Size: a a a
БГ
БГ
Feb 08 03:07:36 ruvds-15jdd systemd[1]: poledeluxe.service: Service hold-off time over, scheduling restart.
Feb 08 03:07:36 ruvds-15jdd systemd[1]: poledeluxe.service: Scheduled restart job, restart counter is at 1.
Feb 08 03:07:36 ruvds-15jdd systemd[1]: Stopped poledeluxe.
Feb 08 03:07:36 ruvds-15jdd systemd[1]: Starting poledeluxe...
Feb 08 03:07:37 ruvds-15jdd python3.7[4657]: /root/poledeluxe/app.py:25: DeprecationWarning: loop argument is deprecat
Feb 08 03:07:37 ruvds-15jdd python3.7[4657]: app = web.Application(loop=loop, middlewares=[
Feb 08 03:07:37 ruvds-15jdd python3.7[4657]: ======== Running on http://0.0.0.0:8080 ========
Feb 08 03:07:37 ruvds-15jdd python3.7[4657]: (Press CTRL+C to quit)
БГ
БГ
БГ
AM
БГ
[Unit]
Description=poledeluxe
After=network.target
[Service]
ExecStart= /usr/bin/python3.7 /root/poledeluxe/app.py
Environment=PYTHONUNBUFFERED=1
Restart=on-failure
Type=notify
[Install]
WantedBy=default.target
VA
> /root/poledeluxe/app.log 2>&1
БГ
VA
БГ
БГ
AM
БГ
AM
БГ
AM
AM
class SafeEnvironmentConfig(Config):
ENV = "Safe"
DEVELOPMENT = True
DEBUG = True
SQLALCHEMY_DATABASE_URI = os.environ.get("DB_URI", f"sqlite:///{os.path.join(BASE_DIR, 'app.db')}")
SQLALCHEMY_TRACK_MODIFICATIONS = False
TOKENINFO_FUNC = "auth.token_info"
SCOPEVALIDATE_FUNC = "auth.scope_validate"
БГ
БГ