Starting gnusocial daemons
This commit is contained in:
parent
4a5c9c8d55
commit
519d3ee197
|
@ -935,9 +935,12 @@ function install_gnusocial {
|
|||
sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' "/var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/static/config.json"
|
||||
fi
|
||||
|
||||
# unleash the daemons!
|
||||
# this has to be run as root initially, otherwise database tables
|
||||
# don't get created
|
||||
cd "/var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs" || exit 236482684
|
||||
php scripts/checkschema.php
|
||||
sh scripts/startdaemons.sh
|
||||
|
||||
/etc/cron.hourly/gnusocial-daemons
|
||||
|
||||
systemctl restart nginx
|
||||
|
|
|
@ -952,7 +952,12 @@ function install_postactiv {
|
|||
|
||||
expire_gnusocial_posts "$POSTACTIV_DOMAIN_NAME" "postactiv" "$POSTACTIV_EXPIRE_MONTHS"
|
||||
|
||||
# unleash the daemons!
|
||||
# this has to be run as root initially, otherwise database tables
|
||||
# don't get created
|
||||
cd "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" || exit 3658254254
|
||||
sh scripts/startdaemons.sh
|
||||
php scripts/checkschema.php
|
||||
|
||||
/etc/cron.hourly/postactiv-daemons
|
||||
|
||||
systemctl restart nginx
|
||||
|
|
Loading…
Reference in New Issue