Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Table of Contents
Table of Contents | ||
---|---|---|
|
Description
Depending on Linux distribution and version, this option will have different names and functions:
...
Option name: Install or update service
Allows you
...
to
...
Red Hat 7.x and
CentOS 7.x
Option name: Manage 'systemd' services
...
view the service status and update the service configuration file
...
to add dependencies, description, etc...
...
Be extremely cautious when updating the file. Preferably limit updates to:
Description=
,After=
,Before=
,Wants=
parameters in theUnit
sectionTimeoutStopSec=
in theService
sectionRestart=
,RestartSec=
,StartLimitInterval=
,StartLimitBurst=
parameters in theService
section as described in the How to restart CHARON-VAX/AXP on Linux automatically on failure chapter.
Examples
Red Hat Enterprise Linux 6 server
Below, an alert is displayed telling the service must be reinstalled (after kit upgrade):
...
class | pagebreak |
---|
In this case, the current version 2.3 will be replaced by 2.3a:
...
Red Hat Enterprise Linux 7 server (using systemd)
...
class | pagebreak |
---|
We can see below the service is active and its most recent events:
Now, we're going to update the default service description, here "CHARON as4100/pluto
", using the "vim
" editor:
Example:
In this example the default description has been updated, restart on failure parameters have been added, the service stop timeout has been set to 5 minutes and the start timeout has been set to 10 minutes.
Note: by default service start and stop timeouts are set to 20 minutes
Div | ||
---|---|---|
| ||
Result example:
...
Include Page | ||||
---|---|---|---|---|
|