|
@@ -935,9 +935,12 @@ function install_gnusocial {
|
935
|
935
|
sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' "/var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/static/config.json"
|
936
|
936
|
fi
|
937
|
937
|
|
938
|
|
- # unleash the daemons!
|
|
938
|
+ # this has to be run as root initially, otherwise database tables
|
|
939
|
+ # don't get created
|
939
|
940
|
cd "/var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs" || exit 236482684
|
940
|
941
|
php scripts/checkschema.php
|
|
942
|
+ sh scripts/startdaemons.sh
|
|
943
|
+
|
941
|
944
|
/etc/cron.hourly/gnusocial-daemons
|
942
|
945
|
|
943
|
946
|
systemctl restart nginx
|