Cool new service file

This commit is contained in:
Kenwood 2022-04-06 14:15:39 -04:00
parent b910ce08a8
commit 72294ead28
2 changed files with 13 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Description=Runs a qsstv instance as houston with houston's config Description=Runs a qsstv instance as houston with houston's config
[Service] [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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

12
Software/houston/sstv.sh Executable file
View File

@ -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