[Unit]
Description=Run e-Paper clean on shutdown and reboot
DefaultDependencies=no
Before=shutdown.target
Before=reboot.target

[Service]
Type=oneshot
ExecStart=/usr/bin/python3 /root/2.13-Ink-screen-clock/bin/clean.py
RemainAfterExit=yes

[Install]
WantedBy=shutdown.target
WantedBy=reboot.target
