Acquire an inhibitor lock that delays system suspend while a backup job runs. The returned FD must be held open by the caller; closing it releases the lock.
Login1 Inhibit Example is an example object payload from systemd, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"operation": "Inhibit",
"description": "Acquire an inhibitor lock that delays system suspend while a backup job runs. The returned FD must be held open by the caller; closing it releases the lock.",
"request": {
"what": "sleep:shutdown",
"who": "backup-daemon",
"why": "Ongoing snapshot upload to remote storage",
"mode": "delay"
},
"response": {
"fd": 5
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.