feat: initialize managed portal
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Store Dwell Alert
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=__PROJECT_DIR__
|
||||
User=__RUN_USER__
|
||||
Group=__RUN_GROUP__
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=__PROJECT_DIR__/.venv/bin/python -m app.main --config __CONFIG_PATH__
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=append:__PROJECT_DIR__/logs/runtime.log
|
||||
StandardError=append:__PROJECT_DIR__/logs/runtime.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user