I am working on a projects that need to record a rtsp stream on bootup.
At the moment my rc.local (which runs on startup) runs a python script that manages everything with this stream, but for some reason, the vlc called in this script won't run...
I know that I can't run vlc as root (rc.local runs as root), so I execute the vlc command with this prefix:
Do you guys know what I am doing wrong? Or is there a way to get the output of rc.local without a screen so I could see, what error vlc throws...
Code: Select all
sudo -S -u pi