Hello, I am running dietpi on my rpi, one of the things i am running is motioneye, i want to be able to have a script / shortcut on my windows computer that ssh into my rpi, runs the startcam.sh script that contains:
"
dietpi-services start motioneye
sleep 2
exit 0
"
but all i get is "dietpi-services" command not found?
anyone have any experience and can point me in the right direction?
ssh script
Re: ssh script
Hi,
Many thanks for your message. Did you tried using full path to dietpi-services script?
Many thanks for your message. Did you tried using full path to dietpi-services script?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: ssh script
Maybe the sudo is missing? dietpi user cannot run the dietpi-service without elevated privileges.
Re: ssh script
ânother possibility would be using systemctl start motioneye
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team