musicmouse/espmusicmouse/musicmouse.service

13 lines
315 B
SYSTEMD
Raw Normal View History

2023-10-09 10:54:33 +02:00
# 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