Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit 7f661b63 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Checking for special db for postrges database added

parent 6552a108
#!/bin/bash
#check if db_partition is available
db_disk="/dev/vdb"
if [ -e $db_disk ]
then
echo "Disk for database found: $db_disk"
mounted=`mount |grep "$db_disk" |wc -l`
if [ "$mounted" = "0" ]
then
echo "Disk not mounted. Aborting"
exit 1
else
echo "Partition mounted."
mount |grep "$db_disk"
fi
else
echo "Partition for database not found: $db_disk"
fi
#install toole required for minerva installation
apt-get update && apt-get install dirmngr apt-transport-https
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment