Skip to content

Commit

Permalink
add systemd service
Browse files Browse the repository at this point in the history
  • Loading branch information
HackerFoo committed Nov 22, 2020
1 parent 5e16dff commit e5a01c8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions systemd/midipush.service
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e5a01c8

Please sign in to comment.