添加 重启 重载 服务

main
zart 2 weeks ago
parent 28200119b1
commit 88a175c7be

@ -0,0 +1,13 @@
[Unit]
Description=Run download_and_execute script at startup
After=network.target
[Service]
ExecStart=/home/pi/download_and_execute.sh
Type=oneshot
Restart=on-failure
RestartSec=10s
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save