From 1cb8124568ba28477ba5a574abc086d085fbd109 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 29 Nov 2018 23:23:23 +0100 Subject: :hammer: Change path to install --- bin/luxcena-neo-cli.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/luxcena-neo-cli.sh b/bin/luxcena-neo-cli.sh index 5d960c0..d3302ed 100755 --- a/bin/luxcena-neo-cli.sh +++ b/bin/luxcena-neo-cli.sh @@ -65,13 +65,13 @@ if [ "$action" == "update" ]; then systemctl stop lxucena-neo oldDir=$PWD - cd /home/lux-neo/luxcena-neo-install + cd /home/lux-neo/src runuser -l 'lux-neo' -c 'git pull' runuser -l 'lux-neo' -c 'export NODE_ENV=production' runuser -l 'lux-neo' -c 'npm i --only=production' cd $oldDir printf "Update complete, run these commands to finish it completly:\n" - printf "sudo /home/lux-neo/install/src/bin/post-update.sh\n" + printf "sudo /home/lux-neo/src/bin/post-update.sh\n" printf "sudo systemctl luxcena-neo start\n" systemctl start luxcena-neo -- cgit v1.2.3