Package com.netscape.cmscore.systemd
Class SystemdNotifier
java.lang.Object
com.netscape.cmscore.apps.SubsystemListener
com.netscape.cmscore.systemd.SystemdNotifier
Notify of startup when systemd notification socket is available.
This class invokes systemd-notify(1) to notify systemd when the system
has been initialised. To configure systemd notifcation, use drop-in
unit configuration, e.g. put into the file:
/etc/systemd/system/pki-tomcatd@pki-tomcat.service.d/notify.conf
the contents:
[Service]
Type=notify
NotifyAccess=all
-
Field Summary
Fields inherited from class com.netscape.cmscore.apps.SubsystemListener
logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.netscape.cmscore.apps.SubsystemListener
init
-
Constructor Details
-
SystemdNotifier
public SystemdNotifier()
-
-
Method Details
-
subsystemStarted
- Overrides:
subsystemStarted
in classSubsystemListener
- Throws:
Exception
-