We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e7a54712 authored by Brion Vibber's avatar Brion Vibber

add additional post-install shell script option for setup_status_network.sh to...

add additional post-install shell script option for setup_status_network.sh to do any other site-specific setup
parent 06cd3358
......@@ -15,3 +15,4 @@ export PHPBASE=/var/www/statusnet
export WILDCARD=example.net
export MAILTEMPLATE=/etc/statusnet/newsite-mail.txt
export MAILSUBJECT="Your new StatusNet site"
export POSTINSTALL=/etc/statusnet/morestuff.sh
......@@ -72,3 +72,9 @@ then
else
echo "No mail template, not sending email."
fi
if [ -f "$POSTINSTALL" ]
then
echo "Running $POSTINSTALL ..."
source "$POSTINSTALL"
fi
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