diff --git a/code/volumio-control.py b/code/volumio-control.py index 760cf8b..f33987f 100644 --- a/code/volumio-control.py +++ b/code/volumio-control.py @@ -8,6 +8,23 @@ # sudo apt-get install python3-pip # pip3 install python-socketio==4.6.1 # https://community.volumio.com/t/cannot-connect-to-volumio-using-pythons-socketio-client/67479/2 # # https://python-socketio.readthedocs.io/en/v4/client.html#creating-a-client-instance +# +# nano volumio-control.py # s.u. +# +# sudo nano /etc/systemd/system/startup-commands.service +# # [Unit] +# # After = network-online.target +# # Wants = network-online.target +# # +# # [Service] +# # Type = oneshot +# # RemainAfterExit = yes +# # ExecStart = 'python3 /home/volumio/volumio-control.py >> /home/volumio/volumio-control.log 2>&1 &' +# # +# # [Install] +# # WantedBy = multi-user.target +# +# systemctl enable startup-commands.service #####