[Unit] Description=MarkZ test service After=network.target [Service] ExecStart=/home/pi/.local/bin/pipenv run python ./zscript.py WorkingDirectory=/home/pi/py/service StandardOutput=inherit StandardError=inherit User=pi [Install] WantedBy=multi-user.target