3 # This is the script that is run when the Citadel Docker Container starts up.
6 # Any of these can fail, since they may already exist
8 mkdir -p /citadel-data/data
9 mkdir -p /citadel-data/files
10 mkdir -p /citadel-data/keys
12 # Now create the links
13 ln -sfv /citadel-data/data /usr/local/citadel/data
14 ln -sfv /citadel-data/files /usr/local/citadel/files
15 ln -sfv /citadel-data/keys /usr/local/citadel/keys
16 ln -sfv /citadel-data/keys /usr/local/webcit/keys
18 # supervisord will take it from here