add additional post-install shell script option for setup_status_network.sh to do any other site-specific setup
This commit is contained in:
parent
06cd335897
commit
e7a5471287
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user