更新 raspi_e-Paper.service

This commit is contained in:
星光-k
2025-01-20 13:38:04 +00:00
committed by GitHub
parent ca450afb14
commit 7405aabf2c

View File

@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=forking
ExecStart=/root/2.13-Ink-screen-clock/bin/start.sh
ExecStop=/bin/bash -c "pkill -f /root/2.13-Ink-screen-clock/bin/main.py"
ExecStop=/bin/bash -c "pkill -f /root/2.13-Ink-screen-clock/bin/main.py; pkill -f /root/2.13-Ink-screen-clock/bin/weather.py"
WorkingDirectory=/root/2.13-Ink-screen-clock/bin
Restart=always
User=root