Join / sign up
Hello Guy,you are very welcome.ExecStop tells systemd how to stop the service. This is used when you explicitly ask it to stop (systemctl stop MFTAGENT1) or restart, and also when the server is shutting down. systemd will attempt to shut things down cleanly before killing them if the shutdown doesn't finish promptly.In RHEL 7 and other systemd based distributions, my preference is certainly to use service units rather than init.d scripts.While init.d still functions via a compatibility layer, it doesn't provide the failure detection and service restart that is available with systemd service units. Service units also provide much better control of startup sequence as they can control whether a service just has to be kicked off before the next in line starts, or whether it has to be completely initialised and functional.I don't know that all Linux admins agree with me on this, but my personal view is that systemd is a great advance over System V initd, so I use it natively on systems that I manage.Regards,
Excellent! Thanks once again for responding, this was very helpful.