# Put this into /etc/systemd/system/musicmouse.service [Unit] Description=Music Mouse RFID Music Player After=multi-user.target [Service] Type=simple Restart=always ExecStart=/opt/musicmouse/venv/bin/python /opt/musicmouse/espmusicmouse/host_driver/main.py /media/musicmouse/ [Install] WantedBy=multi-user.target