## Details I'm a long time Linux user and got a habit to start/stop things using `service` command. I never really thought about what exactly it does. I mean, I know I can start Apache or something else with it and it's something related to init system of my distro. Usually when you install Apache or PHP-FPM those things become recognizable by `service` command and you can call `service program start` when you want to start a service. I never really needed to write my own init scripts so I successfully skipped any knowledge related to init systems of various distros I used. Today I was reading => https://docs.fedoraproject.org/en-US/docs/ Fedora Manual for Administrators and there are lot of stuff written about systemd and its insisted to use `systemctl` command. Why is that if `service` works too. Let's close this question. Turned out `systemctl` is part of `systemd` package/program/init-system. And this is the tool to use when you want to interact with `systemd`.
Most systemd-based distros provide service
command for backward compatibility. At first this command is going to look into /etc/init.d
folder and if no service found there then it will try to use systemctl
.
text/gemini
This content has been proxied by September (ba2dc).