Skip to content

Commit b178507

Browse files
committed
node location moved. fixed pi app install script
1 parent 59b284c commit b178507

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

coder-apps/install_pi.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ base=$1
1919

2020
./install_common.sh $base
2121

22-
./install_app.sh auth $base ./common/
23-
./install_app.sh coder $base ./common/
24-
./install_app.sh wifi $base ./common/
22+
./install_app.sh auth $base ./pi/
23+
./install_app.sh coder $base ./pi/
24+
./install_app.sh wifi $base ./pi/
2525

raspbian-addons/etc/init.d/coder-daemon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
1818
DESC="Coder Server"
1919
NAME="coder-daemon"
20-
DAEMON=/usr/bin/nodejs
20+
DAEMON=/opt/node/bin/node
2121
DAEMON_ARGS="/home/coder/coder-dist/coder-base/server.js"
2222
DAEMON_PATH="/home/coder/coder-dist/coder-base/"
2323
PIDFILE=/var/run/$NAME.pid

0 commit comments

Comments
 (0)