3 ms·
We have no services in UNIX-like systems, we have daemons and it is perfectly OK to use a templated shell script to start/stop restart it, modified according to
by dschiptsov 13y ago
We have no services in UNIX-like systems, we have daemons and it is perfectly OK to use a templated shell script to start/stop restart it, modified according to the nature of a daemon, as needed.
That other operating system from which the concept of a "service" came from (along with lots of other crap) have different philosophy and founded on different design decisions, so blindly trying to bring stuff from it here is not always reasonable.
And, of course, shell scripts are OK when well-written - there are other UNIX-like systems beside Linux.)
- Jasper_ 13y agoI don't know why you think "service" is a word that systemd got from Windows. The name "service" actually came from the usage of the "service" script to run initscripts, like "sudo service httpd start". A systemd "service" is just a declarative description of a daemon that allows systemd to start and stop it.