From fd3d3911734b4de3158521a589d511128a9e3810 Mon Sep 17 00:00:00 2001 From: Brett Curran Date: Fri, 29 May 2026 17:17:48 +1000 Subject: init --- xwing-sensor.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 xwing-sensor.service (limited to 'xwing-sensor.service') diff --git a/xwing-sensor.service b/xwing-sensor.service new file mode 100644 index 0000000..f8e3095 --- /dev/null +++ b/xwing-sensor.service @@ -0,0 +1,15 @@ +[Unit] +Description=xwing-sensor: SI7021 temperature/humidity display on e-Paper HAT +After=multi-user.target + +[Service] +Type=simple +User=pi +WorkingDirectory=/home/pi/xwing_sensor +Environment=PYTHONPATH=/home/pi/e-Paper/RaspberryPi_JetsonNano/python/lib +ExecStart=/home/pi/xwing_sensor/.venv/bin/xwing-sensor +Restart=on-failure +RestartSec=10 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3