mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-11 01:53:23 +01:00
11 lines
297 B
Bash
11 lines
297 B
Bash
#!/bin/bash
|
|
|
|
CONTAINER_ALREADY_STARTED="/var/lib/bffh/firststartflag"
|
|
if [ ! -e $CONTAINER_ALREADY_STARTED ]; then
|
|
touch $CONTAINER_ALREADY_STARTED
|
|
echo "-- Seeding Database --"
|
|
diflouroborane -c /etc/bffh/bffh.dhall --load=/etc/bffh
|
|
else
|
|
diflouroborane -c /etc/bffh/bffh.dhall
|
|
fi
|