[Unit] Description=Python Server for MPV After=network.target [Service] User= WorkingDirectory= ExecStart= Restart=on-failure Environment="MPV_SOCKET=/tmp/mpvsocket" Environment="HOST_NAME=0.0.0.0" Environment="PORT_NUMBER=42069" [Install] WantedBy=multi-user.target