Closed hans-peter123 closed 10 years ago
I think you were logged in with user pi when you ran crontab -e. Squid can't be started from user pi. You should start it with user squid (if you compiled with default user squid) or (dangerous) as root.
You forgot also the & behind the crontab line which starts squid.
To edit crontab of squid run: Sudo su Su squid Crontab -e
To edit crontab of root run: Sudo crontab -e
This doesn't worked for me. I try: sudo nano /etc/rc.local and type at the end:
/usr/local/squid/sbin/squid & exit 0
This worked for me. Thanks
Hello, my server doesn't start on startup completely
I have 2 commands in crontab -e: 1: @reboot /usr/local/squid/sbin/squid 2: @reboot /home/pi/Siri-API/start.sh &
But only the server starts. Why does squid doesn't start? When I type the command manually all works fine!
Thank You for help