forked from LaserWeb/deprecated-LaserWeb3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaserweb3.service
More file actions
17 lines (15 loc) · 774 Bytes
/
Copy pathlaserweb3.service
File metadata and controls
17 lines (15 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Laserweb3 node.js service
[Service]
ExecStart=/usr/local/bin/node /home/biomushroom/LaserWeb3/server.js # Modify username according to the one in your system
Restart=always
RestartSec=10 # Restart service after 10 seconds if node service crashes
StandardOutput=syslog # Output to syslog
StandardError=syslog # Output to syslog
SyslogIdentifier=laserweb3
WorkingDirectory=/home/biomushroom/LaserWeb3 # Modify username according to the one in your system
User=biomushroom # Modify username according to the one in your system
#Group=<alternate group>
Environment=NODE_ENV=production PORT=8000
[Install]
WantedBy=multi-user.target