aboutsummaryrefslogtreecommitdiff
path: root/bin/luxcena-neo-cli.sh
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2018-11-30 10:59:11 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2018-11-30 10:59:11 +0100
commita9151cb4ccf612680b605936395a8c67d5b7e433 (patch)
treeae1709d41bd849b3d043b1568868a3af029223ac /bin/luxcena-neo-cli.sh
parentae98cf39c956033c98dcf6d11be4df95f58fff47 (diff)
downloadLuxcena-Neo-a9151cb4ccf612680b605936395a8c67d5b7e433.tar.gz
Luxcena-Neo-a9151cb4ccf612680b605936395a8c67d5b7e433.zip
:bug: Typo making service not stop while updating
Diffstat (limited to 'bin/luxcena-neo-cli.sh')
-rwxr-xr-xbin/luxcena-neo-cli.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/luxcena-neo-cli.sh b/bin/luxcena-neo-cli.sh
index 5521749..180b0c4 100755
--- a/bin/luxcena-neo-cli.sh
+++ b/bin/luxcena-neo-cli.sh
@@ -63,7 +63,7 @@ if [ "$action" == "update" ]; then
exit 1
fi
- systemctl stop lxucena-neo
+ systemctl stop luxcena-neo
runuser -l 'lux-neo' -c 'git -C ~/src pull'
runuser -l 'lux-neo' -c 'export NODE_ENV=production; npm --prefix ~/src install ~/src --only=production'
cp /home/lux-neo/src/bin/luxcena-neo-cli.sh /usr/bin/luxcena-neo-cli.sh