Answer the question
In order to leave comments, you need to log in
Why does the service (memcached) need two files /etc/init.d/memcached and /lib/systemd/system/memcached.service?
Hello.
For example, I took the memcached package from 18.04 - https://packages.ubuntu.com/bionic/memcached ( security.ubuntu.com/ubuntu/pool/main/m/memcached/m... )
and noticed that there are two files responsible for starting/stopping the service
/etc/init.d/memcached
/lib/systemd/system/memcached.service
Answer the question
In order to leave comments, you need to log in
The first is for init.d the second is for system.d, different distributions will have only one of them
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question