Files
mesh-catalog/modules/power/templates/systemd/system/mesh-power-before-sleep.service
T

12 lines
422 B
Desktop File

# Written by the mesh (module power, novox/hq ADR 0211). Replaced on every push.
#
# Pulled in by sleep.target through this module's drop-in on it, never enabled: a one-shot waiting
# for a sleep is not a service whose state the mesh can declare.
[Unit]
Description=Every module's code before sleep (mesh power)
Before=sleep.target
[Service]
Type=oneshot
ExecStart=/usr/local/lib/mesh-power/bin/power-moment before-sleep