Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #270062
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: systemctl vs service |
| Date | 2024-06-13 02:40 +0200 |
| Message-ID | <IOGFr-2uDk-3@gated-at.bofh.it> (permalink) |
| References | <IOG2J-2uby-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 under Debian for compatibility or convenience. Use it if you like it. The "systemctl" command originated with systemd, and offers more features (subcommands and options). 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.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
systemctl vs service Jeff Peng <jeff@tls-mail.com> - 2024-06-13 02:00 +0200
Re: systemctl vs service Greg Wooledge <greg@wooledge.org> - 2024-06-13 02:40 +0200
Re: systemctl vs service Jeff Peng <jeff@tls-mail.com> - 2024-06-13 09:10 +0200
Re: systemctl vs service mindaugas <mindaugasceliesius@gmail.com> - 2024-06-13 16:40 +0200
csiph-web