Update raspi_e-paper.service

This commit is contained in:
星光-k
2025-01-10 21:55:32 +08:00
committed by GitHub
parent ef378d12f5
commit 0091afe186

View File

@@ -1,9 +1,11 @@
[Unit]
Description=Raspi e-Paper Service
After=network.target
After=network-online.target
[Service]
Type=forking
# 等待网络完全启动
ExecStartPre=systemd-networkd-wait-online --timeout=30
ExecStart=/root/2.13-Ink-screen-clock/bin/start.sh
ExecStop=/usr/bin/screen -S main_screen -X quit
Restart=on-failure