11 lines
203 B
SYSTEMD
11 lines
203 B
SYSTEMD
|
[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
|