first commit
This commit is contained in:
14
piscope.service
Normal file
14
piscope.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=OLED System Stats Monitor
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/PiScope
|
||||
ExecStart=/bin/bash -c 'source /opt/PiScope/venv/bin/activate && exec python PiScope.py'
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user