瀏覽代碼

Keep gnusocial emails in a separate folder

Bob Mottram 9 年之前
父節點
當前提交
762b597754
共有 1 個文件被更改,包括 10 次插入8 次删除
  1. 10
    8
      src/freedombone

+ 10
- 8
src/freedombone 查看文件

8980
     systemctl restart php5-fpm
8980
     systemctl restart php5-fpm
8981
     systemctl restart nginx
8981
     systemctl restart nginx
8982
 
8982
 
8983
+    freedombone-addemail -u $MY_USERNAME -e "noreply@$MICROBLOG_DOMAIN_NAME" -g gnusocial --public no
8984
+
8983
     # some post-install instructions for the user
8985
     # some post-install instructions for the user
8984
     if ! grep -q $"Microblog administrator" /home/$MY_USERNAME/README; then
8986
     if ! grep -q $"Microblog administrator" /home/$MY_USERNAME/README; then
8985
         echo '' >> /home/$MY_USERNAME/README
8987
         echo '' >> /home/$MY_USERNAME/README
9808
     sed -i 's/#inotify=yes/inotify=yes/g' /etc/minidlna.conf
9810
     sed -i 's/#inotify=yes/inotify=yes/g' /etc/minidlna.conf
9809
     sed -i 's/#notify_interval=895/notify_interval=300/g' /etc/minidlna.conf
9811
     sed -i 's/#notify_interval=895/notify_interval=300/g' /etc/minidlna.conf
9810
     sed -i "s|#presentation_url=/|presentation_url=http://localhost:8200|g" /etc/minidlna.conf
9812
     sed -i "s|#presentation_url=/|presentation_url=http://localhost:8200|g" /etc/minidlna.conf
9811
-              service minidlna force-reload
9812
-              service minidlna reload
9813
+    service minidlna force-reload
9814
+    service minidlna reload
9813
 
9815
 
9814
-              sed -i 's/fs.inotify.max_user_watches*/fs.inotify.max_user_watches=65536/g' /etc/sysctl.conf
9815
-              if ! grep -q "max_user_watches" $COMPLETION_FILE; then
9816
-                  echo 'fs.inotify.max_user_watches=65536' >> /etc/sysctl.conf
9817
-              fi
9818
-              /sbin/sysctl -p
9816
+    sed -i 's/fs.inotify.max_user_watches*/fs.inotify.max_user_watches=65536/g' /etc/sysctl.conf
9817
+    if ! grep -q "max_user_watches" $COMPLETION_FILE; then
9818
+        echo 'fs.inotify.max_user_watches=65536' >> /etc/sysctl.conf
9819
+    fi
9820
+    /sbin/sysctl -p
9819
 
9821
 
9820
 
9822
 
9821
-              echo 'install_dlna_server' >> $COMPLETION_FILE
9823
+    echo 'install_dlna_server' >> $COMPLETION_FILE
9822
 }
9824
 }
9823
 
9825
 
9824
 function install_mediagoblin {
9826
 function install_mediagoblin {