action requires restart
This command will place the action in a Pending Restart state until the computer is restarted.
If the optional name
is specified, then the pending
restart
inspector will report that name
requires a restart.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
Syntax
action requires restart [name]
Examples
Require a restart before the action is reported as completed.
run patch.exe
action requires restart "my-awesome-patch"
After running this, the action will be in a Pending Restart state and the
following relevance will return True
:
pending restart "my-awesome-patch"