Raspberry Pi Create Systemd Service
[Unit]
Description=Ensure file exists on boot
After=multi-user.target
[Service]
ExecStart=/usr/bin/python3 /home/pi/ensure-file-exists.py
User=pi
[Install]
WantedBy=multi-user.target
Bewildered Beaver