Maybe this is a trivial question, but it is not totally clear to me. On one of our servers we have some background processes running which were started with
service and some others which were started with
systemctl, like this:
$ service nginx start $ systemctl start gunicorn
What is the difference between the two commands? Which one is the preferred way to deal with background services? How to configure the preferred command?