From 8df5b03aa53d9e5db21b697ee60e8e53c95218a1 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 18 Oct 2018 21:13:03 +0200 Subject: :construction: Change paths to the 'lux-neo' user --- bin/luxcena-neo.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/luxcena-neo.sh') diff --git a/bin/luxcena-neo.sh b/bin/luxcena-neo.sh index 9bcf125..8455bf3 100755 --- a/bin/luxcena-neo.sh +++ b/bin/luxcena-neo.sh @@ -5,4 +5,5 @@ # the server needs root as well. #runuser -l pi -c "export NODE_ENV=production; node ~/luxcena-neo-install/src/app.js" -export NODE_ENV=production; node /home/pi/luxcena-neo-install/src/app.js +export NODE_ENV=production +node /home/lux-neo/install/src/app.js -- cgit v1.2.3 From 776f400f021ca2be81ac565b718e89afc69f2609 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Fri, 19 Oct 2018 07:51:05 +0200 Subject: :construction: Output service stdout to logfile --- bin/luxcena-neo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/luxcena-neo.sh') diff --git a/bin/luxcena-neo.sh b/bin/luxcena-neo.sh index 8455bf3..6a0be31 100755 --- a/bin/luxcena-neo.sh +++ b/bin/luxcena-neo.sh @@ -6,4 +6,4 @@ #runuser -l pi -c "export NODE_ENV=production; node ~/luxcena-neo-install/src/app.js" export NODE_ENV=production -node /home/lux-neo/install/src/app.js +node /home/lux-neo/install/src/app.js >> /home/lux-neo/install/logs/service.log -- cgit v1.2.3 From 5ae6b5f361d4ccee713e3675c0aef999912f4448 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 29 Nov 2018 23:29:05 +0100 Subject: :hammer: Fix some more paths Wondering if it really was worth it to change this shit. --- bin/luxcena-neo.service | 2 +- bin/luxcena-neo.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/luxcena-neo.sh') diff --git a/bin/luxcena-neo.service b/bin/luxcena-neo.service index 14f3040..efea1ad 100644 --- a/bin/luxcena-neo.service +++ b/bin/luxcena-neo.service @@ -8,7 +8,7 @@ RestartSec=10 Environment=PATH=/usr/bin:/usr/local/bin Environment=NODE_ENV=production -WorkingDirectory=/home/lux-neo/install/src/ +WorkingDirectory=/home/lux-neo/src/ [Install] WantedBy=multi-user.target diff --git a/bin/luxcena-neo.sh b/bin/luxcena-neo.sh index 6a0be31..fc41f75 100755 --- a/bin/luxcena-neo.sh +++ b/bin/luxcena-neo.sh @@ -6,4 +6,4 @@ #runuser -l pi -c "export NODE_ENV=production; node ~/luxcena-neo-install/src/app.js" export NODE_ENV=production -node /home/lux-neo/install/src/app.js >> /home/lux-neo/install/logs/service.log +node /home/lux-neo/src/app.js >> /home/lux-neo/logs/service.log -- cgit v1.2.3