add example service file for running map ui and api
This commit is contained in:
parent
34f43b7ee8
commit
5ba3b95f64
1 changed files with 15 additions and 0 deletions
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue