Package com.netscape.cmscore.systemd
Class SystemdNotifier
- java.lang.Object
-
- com.netscape.cmscore.apps.SubsystemListener
-
- com.netscape.cmscore.systemd.SystemdNotifier
-
public class SystemdNotifier extends SubsystemListener
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 Constructor Description SystemdNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subsystemStarted()
-
Methods inherited from class com.netscape.cmscore.apps.SubsystemListener
init
-
-
-
-
Method Detail
-
subsystemStarted
public void subsystemStarted() throws java.lang.Exception
- Overrides:
subsystemStarted
in classSubsystemListener
- Throws:
java.lang.Exception
-
-