diff --git a/Software/houston/qsstv.service b/Software/houston/qsstv.service index b4cd62b..68765ab 100644 --- a/Software/houston/qsstv.service +++ b/Software/houston/qsstv.service @@ -2,7 +2,7 @@ Description=Runs a qsstv instance as houston with houston's config [Service] -ExecStart=sudo su -l houston -c "xinit -geometry =1280x960+0+0 -fn 8x13 -j -fg white -bg black qsstv -- -nocursor" & +ExecStart=sudo su -l houston -c "/opt/radio/lewis-crawler/Software/houston/sstv.sh" & [Install] WantedBy=multi-user.target diff --git a/Software/houston/sstv.sh b/Software/houston/sstv.sh new file mode 100755 index 0000000..cf1a8f6 --- /dev/null +++ b/Software/houston/sstv.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Runs all the required fluff for spawning qsstv with notifing and stuff. + +# Make tempdirs +mkdir -p /tmp/sstv_images + +# Copy config file +cp qsstv_9.0.conf ~/.config/ON4QZ/qsstv_9.0.conf + +# Spawn qsstv +xinit -geometry =1280x960+0+0 -fn 8x13 -j -fg white -bg black qsstv -- -nocursor