From b9d3c6e9c5e1fbbdb232c2924d9c4c8c3e9a2fa9 Mon Sep 17 00:00:00 2001 From: 728 Date: Tue, 29 Nov 2022 15:14:57 +0800 Subject: [PATCH] debian close #22 --- cli/deploy.zsh | 1 + cli/start.zsh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/deploy.zsh b/cli/deploy.zsh index aa8c444..6b0f833 100644 --- a/cli/deploy.zsh +++ b/cli/deploy.zsh @@ -5,3 +5,4 @@ rm -rf ismism/ui unzip -o ismism.zip -d ismism rm ismism.zip deploy.zsh +cd ismism diff --git a/cli/start.zsh b/cli/start.zsh index 8b8a826..b3e6639 100644 --- a/cli/start.zsh +++ b/cli/start.zsh @@ -1,8 +1,6 @@ rm -rf log; mkdir log if systemctl > /dev/null; then - chown -R root:root /var/lib/mongodb - chown root:root /tmp/mongodb-27017.sock cp -f mongod.service /lib/systemd/system/ systemctl daemon-reload systemctl start mongod