Skip to content

Commit

Permalink
add systemd service file
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 27, 2024
1 parent e771339 commit d370d70
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions meshtxt.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=meshtxt
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
Group=root
WorkingDirectory=/home/liamcottle/meshtxt
ExecStart=/usr/bin/env node /home/liamcottle/meshtxt/server.js --port 80

[Install]
WantedBy=multi-user.target

0 comments on commit d370d70

Please sign in to comment.