Is a kill script needed for seosd for system shutdown

book

Article ID: 196504

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

Is there a need for an explicit kill script for system shutdown to gracefully unload the seos daemons and close the seos databases?

Environment

Release : 14.0

Component : CA ControlMinder

Resolution

There is no need for a kill script for seosd - in case of absence of the kill script seosd intercepts the halt() syscall upon shutdown / reboot and gracefully unloads all daemons before halting the system.

To anyway setup init / kill scripts for system startup / shutdown:

If your Linux is running on systemd please follow the steps as explained in
https://knowledge.broadcom.com/external/article?articleId=39773

If your Linux is using System V init scripts please follow the steps as explained in
https://knowledge.broadcom.com/external/article?articleId=9715

In both cases there is no explicit Kill script - instead the ExecStop / stop) procedure is called upon reaching the relevant runlevel by the init system.

The references to the Start / Kill scripts are placed automatically by using the systemctl enable / chkconfig --level commands.