diff --git a/CHANGELOG.md b/CHANGELOG.md index 603a2aa..4047682 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # v3 For Misskey v13 production and later RC (since 13.0.0-rc.10) +## v3.2.0 +- systemd環境ではjemallocを使用するようにしました。 +- インストール時にdefault.ymlで`proxyRemoteFiles: true`を指定するようになりました。 +- アップデート時に`-r`オプションで`apt full-upgrade`する際、確認画面が出ないように(未検証) + ## v3.1.0 Node.js v20をインストールするように変更しました。 diff --git a/README.en.md b/README.en.md index 1f6e728..c66400c 100644 --- a/README.en.md +++ b/README.en.md @@ -1,4 +1,4 @@ -# Misskey install shell script v3.1.0 +# Misskey install shell script v3.2.0 Install Misskey with one shell script! You can install misskey on an Ubuntu server just by answering some questions. diff --git a/README.md b/README.md index 1f7c2cb..cba8500 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Misskey install shell script v3.1.0 +# Misskey install shell script v3.2.0 Misskeyを簡単にインストールするためのシェルスクリプトができました! diff --git a/ubuntu.sh b/ubuntu.sh index eea8415..27e35a8 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -18,7 +18,7 @@ # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -version="3.0.0"; +version="3.2.0"; tput setaf 4; echo ""; @@ -485,6 +485,10 @@ redis: # ID type id: 'aid' +# Proxy remote files (default: true) +# Proxy remote files by this instance or mediaProxy to prevent remote files from running in remote domains. +proxyRemoteFiles: true + # Sign to ActivityPub GET request (default: true) signToActivityPubGet: true @@ -570,7 +574,7 @@ tput setaf 3; echo "Process: apt install #2;" tput setaf 7; apt -qq update -y; -apt -qq install -y$([ $method == "systemd" ] && echo " nodejs" || echo " docker-ce docker-ce-cli containerd.io")$($redis_local && echo " redis")$($nginx_local && echo " nginx"); +apt -qq install -y$([ $method == "systemd" ] && echo " nodejs libjemalloc-dev" || echo " docker-ce docker-ce-cli containerd.io")$($redis_local && echo " redis")$($nginx_local && echo " nginx"); if [ $method == "systemd" ]; then tput setaf 3; @@ -887,6 +891,7 @@ User=$misskey_user ExecStart=$(command -v npm) start WorkingDirectory=/home/$misskey_user/$misskey_directory Environment="NODE_ENV=production" +Environment="LD_PRELOAD=/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2" TimeoutSec=60 StandardOutput=journal StandardError=journal diff --git a/update.ubuntu.sh b/update.ubuntu.sh index 9b99f1f..840b4ad 100644 --- a/update.ubuntu.sh +++ b/update.ubuntu.sh @@ -18,7 +18,7 @@ # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -version="3.0.0"; +version="3.2.0"; tput setaf 2; echo "Check: root user;"; @@ -113,7 +113,7 @@ if [ $# == 1 ] && [ $1 == "-r" ]; then echo "Process: apt upgrade;"; tput setaf 7; apt update -y; - apt full-upgrade -y; + DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt full-upgrade -y; tput setaf 3; echo "reboot;";