On a Linux Signal
AMPS provides the amps-action-on-signal
module for running actions when AMPS receives a specified signal.
The module requires the Signal
parameter:
Parameter | Description |
---|---|
| Specifies the signal to respond to. This module supports the standard Linux signals. Configuring an action uses the standard name of the signal.
For example, to configure an action to AMPS reserves |
This module does not add any variables to the AMPS context.
Actions can be used to override the default signal behavior for AMPS
Default Signal Actions
By default, AMPS registers the following actions for signals:
On Event | Action |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The actions in the table above can be overridden by creating an explicit action in the configuration file.
AMPS reserves the SIGQUIT
signal and does not allow the configuration file to override the action taken in response to SIGQUIT
.
On Event | Action |
---|---|
|
|
Last updated