diff --git a/systemd/midipush.service b/systemd/midipush.service new file mode 100644 index 0000000..c797596 --- /dev/null +++ b/systemd/midipush.service @@ -0,0 +1,14 @@ +[Unit] +Description=MidiPush +After=network.target + +[Service] +ExecStart=/home/pi/src/midipush/run.sh +WorkingDirectory=/home/pi/src/midipush +StandardOutput=inherit +StandardError=inherit +Restart=always +User=pi + +[Install] +WantedBy=multi-user.target