diff --git a/scripts/production/mount_disk.sh b/scripts/production/mount_disk.sh index 90d773887e0..580089e1183 100755 --- a/scripts/production/mount_disk.sh +++ b/scripts/production/mount_disk.sh @@ -1,11 +1,12 @@ #!/bin/sh - +# This is part of the upstart script for Blot so if +# you move it, make sure to update the upstart script set -e +set -x -# This is part of the upstart script for Blot DEVICE_NAME=nvme0n1 # Ensure we have mounted the file system -mkfs -t xfs /dev/$DEVICE_NAME -mount /dev/$DEVICE_NAME $CACHE_DIRECTORY -chown -R $BLOT_USER:$BLOT_USER $BLOT_CACHE_DIRECTORY \ No newline at end of file +mkfs -t xfs /dev/$DEVICE_NAME || true +mount /dev/$DEVICE_NAME $CACHE_DIRECTORY || true +chown -R $BLOT_USER:$BLOT_USER $BLOT_CACHE_DIRECTORY || true \ No newline at end of file