Check for processes needing restart after updates, can execute commands.
needrestart -r /path/to/hook needrestart -r /path/to/hook Sandbox: execFile · Timeout: 30s
security.execution.command Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 4 MB |
| Network | none |
| Disk I/O | low |
Execute command via needrestart
needrestart -r /path/to/hook