Add eye_service.py with HTTP API, systemd service, README
This commit is contained in:
14
vixy-eyes.service
Normal file
14
vixy-eyes.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Vixy Eye Display Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=alex
|
||||
WorkingDirectory=/home/alex/eyes
|
||||
ExecStart=/home/alex/eyes/.venv/bin/python /home/alex/eyes/eye_service.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user