add example service file for running map ui and api
This commit is contained in:
15
meshtastic-map.service
Normal file
15
meshtastic-map.service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=meshtastic-map
|
||||||
|
After=network.target
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
User=liamcottle
|
||||||
|
WorkingDirectory=/home/liamcottle/meshtastic-map
|
||||||
|
ExecStart=/usr/bin/env node /home/liamcottle/meshtastic-map/src/index.js
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Reference in New Issue
Block a user