Skip to content

Commit

Permalink
fix sample systemd configuration for rotary-encoder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Clausen authored and Martin Clausen committed Nov 25, 2018
1 parent b93d083 commit 011e90c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ After=network.target iptables.service firewalld.service
[Service]
Restart=always
WorkingDirectory=/home/pi/RPi-Jukebox-RFID
ExecStart=/home/pi/RPi-Jukebox-RFID/scripts/rotary-encoder.py
ExecStart=/usr/bin/python2 /home/pi/RPi-Jukebox-RFID/scripts/rotary-encoder.py
User=pi
Group=pi

[Install]
WantedBy=multi-user.target

1 comment on commit 011e90c

@marcohorstmann
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MiczFlor this looks valid for me. I think this commit could be merged

Please sign in to comment.