Add systemd init file with hardcoded path

This commit is contained in:
Annika Backstrom 2017-04-08 12:25:23 -04:00
parent d604db0d0c
commit b0c253799b
1 changed files with 10 additions and 0 deletions

10
init/jukebox.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Jukebox
[Service]
WorkingDirectory=/home/annika/rfid
ExecStart=/usr/bin/npm start
Restart=always
[Install]
WantedBy=multi-user.target