How to force ssl for standalone / non-dynamic websites at the server level by adding a .htaccess
Month: March 2019
Raspberry Pi – Mounting an NFS @ boot
I have an “every 3rd night backup” script that’s been crashing out, and it’s because as soon as I log off the system drops the file share…so the system forgets where to store backups.
So using the logic of the following crontab that works I’ve made my own slightly customized version…
@reboot sleep 30 && python /path/to/your/script.py &
Reverse engineering the code, the secret sauce is actually in the sleep 30, which is basically telling the system to wait for a few ticks before running the following command…which ironically waits just long enough for the network stack to be fully up and running and then mount.
@reboot sleep 30 && sudo mount -t nfs 192.168.1.8:/volume1/pi /media/SYNOLOGY
You must be logged in to post a comment.