Update e-Paper_clean.service

This commit is contained in:
星光-k
2025-01-12 00:03:53 +08:00
committed by GitHub
parent a2e657a182
commit a869fc1911

View File

@@ -6,10 +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"
ExecStartPre=/bin/bash -c "while pgrep -f '/bin/bash /root/2.13-Ink-screen-clock/bin/clean.sh' > /dev/null; do sleep 1; done"
ExecStart=/bin/bash /root/2.13-Ink-screen-clock/bin/clean.sh
RemainAfterExit=yes
TimeoutSec=0
TimeoutSec=10
[Install]
WantedBy=shutdown.target