mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-03-19 07:39:45 +08:00
Update e-Paper_clean.service
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user