0

The question here explain the main difference between service and systemctl. however, I have two versions of php-fpm installed and service is handling one version while systemctl is handling the other.

My question is, where can I access the config of each utility? from where each one of them read its data?

OS: Centos 7

Eng7
  • 107
  • 6

1 Answers1

1

Not sure if I understand well, but I think you are looking for these things.

For service command based check under /etc/init.d/ and for systemctl check under /etc/systemd/system dir, you should see related init files to start/stop/reload with configuration and binary location of respective services.

asktyagi
  • 2,401
  • 1
  • 5
  • 19
  • You got me right, for services I found the related files, but nothing in `/etc/systemd/system` , any idea? – Eng7 Oct 30 '19 at 10:53
  • If service is managed by systemctl you should have link under `/etc/systemd/system//` – asktyagi Oct 30 '19 at 11:05