fix bug and add service file
1.修正列印大小無法寫入BUG 2.加入SYSTEMD系統服務腳本
This commit is contained in:
1 parent
8c2913e8d6
commit
fc7425e97d
2 files changed
+12
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=BLE Printer Server
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/node /usr/local/node/ble-server/app.js
|
||||
Restart=always
|
||||
User=root
|
||||
Environment="NODE_ENV=production"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user