Can someone tell me how to forever stop named service?
by hokie1999 from LinuxQuestions.org on (#6QM9Z)
I am:
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
# uname -a
Linux ircdns02 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Can someone tell me how to forever stop named service?
No options in /usr/lib/systemd/system for the various named named-chroot for the Restart, Restart=Always
Tried this....
systemctl --now disable named-chroot
systemctl --now stop named-chroot
systemctl --now disable named
systemctl --now stop named
... but still starts after a moment
[root@ircdns02 etc]# ps -ef | grep named
named 21470 1 0 14:55 ? 00:00:00 /usr/sbin/named -u named -c /etc/named.conf -t /var/named/chroot
I would want to be able to start it up again.....thanks
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
# uname -a
Linux ircdns02 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Can someone tell me how to forever stop named service?
No options in /usr/lib/systemd/system for the various named named-chroot for the Restart, Restart=Always
Tried this....
systemctl --now disable named-chroot
systemctl --now stop named-chroot
systemctl --now disable named
systemctl --now stop named
... but still starts after a moment
[root@ircdns02 etc]# ps -ef | grep named
named 21470 1 0 14:55 ? 00:00:00 /usr/sbin/named -u named -c /etc/named.conf -t /var/named/chroot
I would want to be able to start it up again.....thanks