Created
March 28, 2017 12:52
-
-
Save raphink/66956ca35d4ccd16e6fdd3b304c0748c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap "echo term; umount /home/shared/s3" SIGTERM | |
mount --make-shared /home/shared/s3 | |
mkdir -p /home/shared/s3 | |
mkdir -p /tmp | |
s3fs $BUCKETNAME /home/shared/s3 -o use_cache=/tmp -o allow_other -o umask=0002 -o use_rrs -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment