|
@@ -0,0 +1,16 @@
|
|
|
|
|
+[Service]
|
|
|
|
|
+ WorkingDirectory=/home/pi
|
|
|
|
|
+ ExecStart=/usr/bin/node /home/pi/ICGLabelClient.js
|
|
|
|
|
+ Restart=always
|
|
|
|
|
+ RestartSec=10
|
|
|
|
|
+ StandardOutput=syslog
|
|
|
|
|
+ StandardError=syslog
|
|
|
|
|
+ SyslogIdentifier=WSLabelInternet
|
|
|
|
|
+ User=root
|
|
|
|
|
+ Group=root
|
|
|
|
|
+ Environment=NODE_ENV=production
|
|
|
|
|
+
|
|
|
|
|
+ [Install]
|
|
|
|
|
+ WantedBy=multi-user.target
|
|
|
|
|
+
|
|
|
|
|
+
|