Update e-Paper_clean.service

This commit is contained in:
星光-k
2025-01-11 23:19:42 +08:00
committed by GitHub
parent b3c8a76fe4
commit 08111ca4fa

View File

@@ -6,9 +6,10 @@ Before=reboot.target
[Service]
Type=oneshot
ExecStartPre=/bin/bash -c "while pgrep -f '/usr/bin/python3 -u /root/2.13-Ink-screen-clock/bin/clean.py' > /dev/null; do sleep 1; done"
ExecStart=/bin/bash /root/2.13-Ink-screen-clock/bin/clean.sh
RemainAfterExit=yes
TimeoutSec=5s
TimeoutSec=0
[Install]
WantedBy=shutdown.target