Skip to content

Commit

Permalink
run as a service
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhiggs committed Sep 29, 2024
1 parent 98d522a commit fa343fd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dvb-i-tools.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# run as a Service
#
# link this file to /usr/lib/systemd/system/dvb-i-tools.service
# $sudo ln -s dvb-i-tools.service /usr/lib/systemd/system/dvb-i-tools.service
#
# modify the ExecStart location to the install directory
#
# start it
# #sudo service dvb-i-tools start
#

[Unit]
Description=DVB-I validator
After=network-online.target

[Service]
Restart=on-failure
WorkingDirectory=/home/paul/dvb-i-tools/
ExecStart=/usr/bin/node /home/paul/dvb-i-tools/all-in-one.js

[Install]
WantedBy=multi-user.target

0 comments on commit fa343fd

Please sign in to comment.