mirror of
https://github.com/RunLit/Bambu-Run.git
synced 2026-06-22 22:19:03 +01:00
16 lines
344 B
Desktop File
16 lines
344 B
Desktop File
[Unit]
|
|
Description=Bambu-Run MQTT Collector
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=exec
|
|
WorkingDirectory={{REPO_DIR}}
|
|
EnvironmentFile={{REPO_DIR}}/.env
|
|
Environment=DJANGO_SETTINGS_MODULE=standalone.settings
|
|
ExecStart={{VENV_DIR}}/bin/python standalone/manage.py bambu_collector
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=default.target
|