ble-server/initscript/systemd/ble-server.service

12 lines
232 B
Desktop File

[Unit]
Description=BLE Printer Server
After=bluetooth.target
[Service]
ExecStart=/usr/local/bin/node /usr/local/node/ble-server/app.js
Restart=always
User=root
Environment="NODE_ENV=production"
[Install]
WantedBy=multi-user.target