/lib/systemd/system/autosuspend-detect-suspend.service is in autosuspend 1.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | [Unit]
Description=Notifies autosuspend about suspension
Before=sleep.target
[Service]
Type=simple
ExecStart=/usr/bin/touch /tmp/autosuspend-just-woke-up
[Install]
WantedBy=sleep.target
|