Start data Logging subproject
This commit is contained in:
1 parent
011a4171cc
commit
a6b31fe5bf
5 files changed
+395
-4
No files matched your search
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Arduino Serial Logger (Exploring Uncertainties)
|
||||
# Start after the system has reached multi-user mode and USB devices are ready.
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Change 'pi' to your actual Raspberry Pi username if different.
|
||||
User=pi
|
||||
# Absolute path to the script — update this to match where you cloned the repo.
|
||||
ExecStart=/usr/bin/python3 /home/pi/ExploringUncertanties/dataLogging/log_serial.py
|
||||
# Restart the service automatically if it crashes or if the Pi reboots.
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user