Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
@ -0,0 +1,12 @@
#!bin/bash
if ! command -v screen &> /dev/null
then
sudo apt install screen -y
exit
fi
su - root -c "screen -m -d meme-of-the-day"
sleep 5
screen -S meme-of-the-day -X stuff 'python3 $PWD/save-image.py\n'
screen -XS meme-of-the-day quit