[Unit]
Description=BLE Alerter
After=bluetooth.target
Wants=bluetooth.target

[Service]
Type=simple
WorkingDirectory=/opt/ble_alerter
EnvironmentFile=/opt/ble_alerter/.env
ExecStart=/usr/bin/python3 /opt/ble_alerter/ble_alerter.py
Restart=always
RestartSec=10
User=root

[Install]
WantedBy=multi-user.target
