From 0dc6e2e18f1b529dccbc8b857fa56432dca24e69 Mon Sep 17 00:00:00 2001 From: Thanh Le Date: Wed, 22 May 2024 14:23:46 +0700 Subject: [PATCH] Add chown to restart command --- bin/deploy-v3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/deploy-v3 b/bin/deploy-v3 index 110038f8..ec032014 100755 --- a/bin/deploy-v3 +++ b/bin/deploy-v3 @@ -33,6 +33,6 @@ echo "rsync complete" read -n 1 -p "Press [Enter] to continue." echo "Restart lila-search-v3" -ssh $REMOTE "systemctl restart lichess-search-v3" +ssh $REMOTE "chown -R lila-search-v3:lila-search-v3 /home/lila-search-v3 && systemctl restart lichess-search-v3" echo "Deploy complete"