We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21a71ba commit c9bee8cCopy full SHA for c9bee8c
scripts/adafruit-webide.service
@@ -1,16 +1,17 @@
1
[Unit]
2
Description=Adafruit-WebIDE
3
4
-ExecStart=/usr/bin/nodejs server.js
5
-WorkingDirectory=/usr/local/webide
+[Service]
+ExecStart=/usr/bin/node /usr/share/adafruit/webide/server.js
6
+WorkingDirectory=/usr/share/adafruit/webide
7
Restart=always
8
RestartSec=10
9
StandardOutput=syslog
10
StandardError=syslog
11
SyslogIdentifier=webide
12
# Change to a non-root user
-# User=webide
13
-# Group=webide
+User=webide
14
+Group=webide
15
# Set environment options
16
Environment=NODE_ENV=production PORT=8080
17
0 commit comments