The lifekeeper-api and lifekeeper-wmc systemd services are started and enabled when the REST API and GUI server packages are initially installed. Because the services are enabled, they will be automatically restarted by systemd when the server reboots.
The systemctl command can be used to stop these services and/or disable them from automatically restarting when the system reboots:
Stop the LKWMC GUI service:
# systemctl stop lifekeeper-wmc
Stop the LifeKeeper REST API service:
# systemctl stop lifekeeper-api
Disable the LKWMC GUI service:
# systemctl disable lifekeeper-wmc
Disable the LifeKeeper REST API service:
# systemctl disable lifekeeper-api
After stopping and/or disabling the services, they can be restarted or re-enabled by using the systemctl command:
Start the LifeKeeper REST API service:
# systemctl start lifekeeper-api
Start the LKWMC GUI service:
# systemctl start lifekeeper-wmc
Enable the LifeKeeper REST API service:
# systemctl enable lifekeeper-api
Enable the LKWMC GUI service:
# systemctl enable lifekeeper-wmc
Some configuration changes (e.g., modifying the GUI server port or the REST API server port) may also require the services to be restarted, which can also be accomplished with the systemctl command:
Restart the LifeKeeper REST API service:
# systemctl restart lifekeeper-api
Restart the LKWMC GUI service:
# systemctl restart lifekeeper-wmc
Post your comment on this topic.