📅  最后修改于: 2022-03-11 14:50:14.863000             🧑  作者: Mango
[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