diff --git a/seed/dotclear/dictionaries/40_dotclear.xml b/seed/dotclear/dictionaries/40_dotclear.xml new file mode 100644 index 00000000..924fc9b4 --- /dev/null +++ b/seed/dotclear/dictionaries/40_dotclear.xml @@ -0,0 +1,26 @@ + + + + + /etc/dotclear/config.php + /etc/nginx/default.d/dotclear.conf + /tmpfiles.d/0dotclear.conf + + + + + + + + + + domain_name_eth0 + secret_key + dotclear + cleartext + hide_secret + dotclear_secret_key + + + diff --git a/seed/dotclear/manual/image/postinstall/dotclear.sh b/seed/dotclear/manual/image/postinstall/dotclear.sh new file mode 100644 index 00000000..3beb06fd --- /dev/null +++ b/seed/dotclear/manual/image/postinstall/dotclear.sh @@ -0,0 +1,16 @@ +set -e + +ORIPWD=$PWD +mkdir -p "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/local/share" +cd "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/local/share" +wget -q "https://download.dotclear.net/latest.tar.gz" +tar xf *tar.gz +rm -f *tar.gz +chown -R root: dotclear +cd dotclear +rmdir public +ln -s /srv/dotclear/public public +cd inc +ln -s /etc/dotclear/config.php config.php + +cd $ORIPWD diff --git a/seed/dotclear/manual/image/preinstall/dotclear.sh b/seed/dotclear/manual/image/preinstall/dotclear.sh new file mode 100644 index 00000000..c29a6cdc --- /dev/null +++ b/seed/dotclear/manual/image/preinstall/dotclear.sh @@ -0,0 +1 @@ +PKG="$PKG php-pgsql php-mbstring php-xml" diff --git a/seed/dotclear/templates/config.php b/seed/dotclear/templates/config.php new file mode 100644 index 00000000..1380766a --- /dev/null +++ b/seed/dotclear/templates/config.php @@ -0,0 +1,108 @@ +GNUNUX +//define('DC_TPL_CACHE', path::real(__DIR__ . '/..') . '/cache'); +define('DC_TPL_CACHE', '/srv/dotclear/cache'); +//GNUNUX +define('DC_NOT_UPDATE', false); +//GNUNUX +define('DC_REVERSE_PROXY',true); +//