Files
managed-portal/managed/store_dwell_alert/deploy/store-dwell-alert.service
2026-04-27 10:04:36 +08:00

14 lines
278 B
Desktop File

[Unit]
Description=Store Dwell Alert
After=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/xiaozheng/store_dwell_alert
ExecStart=/home/xiaozheng/store_dwell_alert/.venv/bin/python -m app.main
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target