This works
This commit is contained in:
parent
213e9e1b0f
commit
12d87af633
|
@ -2,5 +2,7 @@
|
|||
|
||||
install:
|
||||
sudo cp qsstv.service /etc/systemd/system/qsstv.service
|
||||
sudo cp robotstreamer.service /etc/systemd/system/robotstreamer.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable qsstv.service
|
||||
sudo systemctl enable robotstreamer.service
|
||||
|
|
|
@ -10,4 +10,3 @@ pillow = "*"
|
|||
[dev-packages]
|
||||
|
||||
[requires]
|
||||
python_version = "3.10"
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "a888620a07623b3edc9dfdd90eaa6568b5676e1b54ecabc03327dc1594607897"
|
||||
"sha256": "d38f5cc73695023ab5e5dc66a552a8d0bb9d3842a276ca547364ce1d6baaf5b9"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
"python_version": "3.10"
|
||||
},
|
||||
"requires": {},
|
||||
"sources": [
|
||||
{
|
||||
"name": "pypi",
|
||||
|
@ -65,7 +63,6 @@
|
|||
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
|
||||
"sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
|
||||
],
|
||||
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
||||
"version": "==1.16.0"
|
||||
},
|
||||
"xlib": {
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Runs the robotstreamer stream
|
||||
|
||||
[Service]
|
||||
ExecStart=sudo su -l houston -c "/opt/radio/lewis-crawler/Software/houston/stream.sh"
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Runs the robotstream
|
||||
cd /opt/radio/lewis-crawler/Software/houston/ && pipenv run python RobotStreamer.py
|
||||
|
Loading…
Reference in New Issue