From b0c253799ba9bdb6d01839c9f0e19b1ed8043f04 Mon Sep 17 00:00:00 2001 From: Annika Backstrom Date: Sat, 8 Apr 2017 12:25:23 -0400 Subject: [PATCH] Add systemd init file with hardcoded path --- init/jukebox.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 init/jukebox.service diff --git a/init/jukebox.service b/init/jukebox.service new file mode 100644 index 0000000..85c9867 --- /dev/null +++ b/init/jukebox.service @@ -0,0 +1,10 @@ +[Unit] +Description=Jukebox + +[Service] +WorkingDirectory=/home/annika/rfid +ExecStart=/usr/bin/npm start +Restart=always + +[Install] +WantedBy=multi-user.target