Keep gnusocial emails in a separate folder
This commit is contained in:
parent
bdc79aa3da
commit
762b597754
|
@ -8980,6 +8980,8 @@ function install_gnu_social {
|
||||||
systemctl restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
|
freedombone-addemail -u $MY_USERNAME -e "noreply@$MICROBLOG_DOMAIN_NAME" -g gnusocial --public no
|
||||||
|
|
||||||
# some post-install instructions for the user
|
# some post-install instructions for the user
|
||||||
if ! grep -q $"Microblog administrator" /home/$MY_USERNAME/README; then
|
if ! grep -q $"Microblog administrator" /home/$MY_USERNAME/README; then
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
|
@ -9808,17 +9810,17 @@ function install_dlna_server {
|
||||||
sed -i 's/#inotify=yes/inotify=yes/g' /etc/minidlna.conf
|
sed -i 's/#inotify=yes/inotify=yes/g' /etc/minidlna.conf
|
||||||
sed -i 's/#notify_interval=895/notify_interval=300/g' /etc/minidlna.conf
|
sed -i 's/#notify_interval=895/notify_interval=300/g' /etc/minidlna.conf
|
||||||
sed -i "s|#presentation_url=/|presentation_url=http://localhost:8200|g" /etc/minidlna.conf
|
sed -i "s|#presentation_url=/|presentation_url=http://localhost:8200|g" /etc/minidlna.conf
|
||||||
service minidlna force-reload
|
service minidlna force-reload
|
||||||
service minidlna reload
|
service minidlna reload
|
||||||
|
|
||||||
sed -i 's/fs.inotify.max_user_watches*/fs.inotify.max_user_watches=65536/g' /etc/sysctl.conf
|
sed -i 's/fs.inotify.max_user_watches*/fs.inotify.max_user_watches=65536/g' /etc/sysctl.conf
|
||||||
if ! grep -q "max_user_watches" $COMPLETION_FILE; then
|
if ! grep -q "max_user_watches" $COMPLETION_FILE; then
|
||||||
echo 'fs.inotify.max_user_watches=65536' >> /etc/sysctl.conf
|
echo 'fs.inotify.max_user_watches=65536' >> /etc/sysctl.conf
|
||||||
fi
|
fi
|
||||||
/sbin/sysctl -p
|
/sbin/sysctl -p
|
||||||
|
|
||||||
|
|
||||||
echo 'install_dlna_server' >> $COMPLETION_FILE
|
echo 'install_dlna_server' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_mediagoblin {
|
function install_mediagoblin {
|
||||||
|
|
Loading…
Reference in New Issue