I am using s3fs to mount an s3 bucket on my Ubuntu server:
sudo apt-get install s3fssudo vim /etc/passwd-s3fs // <--put user access key and secret key in this filesudo chmod 640 /etc/passwd-s3fs // <-- change permission to password filesudo vim /etc/fuse.conf // uncomment user_allow_other
Now mount the s3 bucket:
sudo s3fs -o allow_other s3-bucket-name /home/myuser/s3
I want to make sure that the bucket is mounted automatically after reboot, how can I do this?