The service file is as follows:
Code: Select all
[Unit]
Description=YourDescription
[Service]
ExecStart=sudo /usr/bin/python /home/pi/Desktop/FolderOnDesktop/Program.py
[Install]
WantedBy=multi-user.target
My two questions:
Would the code that I have written for the service file start my program on boot and allow it to write to a .csv file that the program already does?
How do I gain access to the systemd folder?