Skip to content
Permalink
Browse files

Updates mount script

  • Loading branch information
davidmerfield committed Nov 24, 2019
1 parent 6a85187 commit a22b6b9fde36ff3a03c6ab358057b8fea8661c70
Showing with 6 additions and 5 deletions.
  1. +6 −5 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
mkfs -t xfs /dev/$DEVICE_NAME || true
mount /dev/$DEVICE_NAME $CACHE_DIRECTORY || true
chown -R $BLOT_USER:$BLOT_USER $BLOT_CACHE_DIRECTORY || true

0 comments on commit a22b6b9

Please sign in to comment.
You can’t perform that action at this time.