This page explains the service features included with Super Mediator
On systems that support it, systemd is an option for managing super mediator services. The implementation of super mediator as a systemd service is intended to provide an easy transition for those migrating from the init.d service implementation.
When running a super mediator service for the first time, you must first modify the configuration file, super_mediator.conf, with relevant parameters for your intended use. If you are upgrading from a previous version of super mediator, your configuration file will have persisted during the upgrade. The super_mediator.conf file is typically found in /etc.
Once the configuration file is completed, starting super mediator as a service is the same as starting any other systemd service:
systemctl start super_mediator.service
Checking the service status and stopping the service are also typical:
systemctl status super_mediator.service
and:
systemctl stop super_mediator.service
With systemd functionality comes the ability to start a super mediator service as an instance, with a unique configuration per instance.
To start Super Mediator as an instantiated service, you must create a unique configuration file in the configuration file directory (/etc). The config file should be named super_mediator.foo.conf where foo is the name you want to give your instantiated service. Once this is done, you can start the instantiated service by passing your service name.
For example:
systemctl start super_mediator@foo.service
starts an instantiated service using the configuration file super_mediator.foo.conf.
For systems that do not support systemd, the init.d service script is still available, however this capability is not present when installing via rpm.
Running a super mediator service using init.d is very similar to using systemd. The super_mediator.conf configuration file must be configured prior to first use with the parameters you want the service to use. The configuration file is typically located in /etc.
Once your configuration file is complete, you can start the super mediator service using the following command:
service super_mediator start
You can stop the service or check its status using:
service super_mediator stop
and
service super_mediator status