Revived this old project to run Citadel in a Docker container. It uses 'ctdlvisor...
[citadel-docker.git] / citadel-docker-startup.sh
diff --git a/citadel-docker-startup.sh b/citadel-docker-startup.sh
deleted file mode 100755 (executable)
index b9558e6..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# This is the script that is run when the Citadel Docker Container starts up.
-
-# Create directories within the volume, if they do not already exist.
-mkdir -p /citadel-data         2>/dev/null
-mkdir -p /citadel-data/data    2>/dev/null
-mkdir -p /citadel-data/files   2>/dev/null
-mkdir -p /citadel-data/keys    2>/dev/null
-
-# Create symlinks into the volume subdirectories, from where our programs expect them to be.
-ln -sfv /citadel-data/data /usr/local/citadel/
-ln -sfv /citadel-data/files /usr/local/citadel/
-ln -sfv /citadel-data/keys /usr/local/citadel/
-ln -sfv /citadel-data/keys /usr/local/webcit/
-
-# supervisord will take it from here.
-exec /usr/bin/supervisord -c /etc/supervisor.conf