Re: systemctl vs service

2024-06-13 Thread mindaugas
13.06.2024 02:50, Jeff Peng пишет: Hello I was a bit confused, systemctl and service both are used for service control (start|stop|reload etc). what's the suggested way for using them? thanks & regards. Hello. Just check this: https://serverfault.com/questions/867322/what-is-the-diffe

Re: systemctl vs service

2024-06-13 Thread Jeff Peng
On 2024-06-13 08:38, Greg Wooledge wrote: If all you want to do is stop and restart a service, they're both fine. If you want more features, it's worth learning systemctl. that's all right. I will check the doc of systemctl for more details. thanks.

Re: systemctl vs service

2024-06-12 Thread Greg Wooledge
On Thu, Jun 13, 2024 at 07:50:45AM +0800, Jeff Peng wrote: > I was a bit confused, systemctl and service both are used for service > control (start|stop|reload etc). what's the suggested way for using them? The "service" command originated with Red Hat's implementation of sysv-rc and is maintained