Question

vendor and preset disabled

Connected Tutorial
This question is a follow-up to this tutorial:

sudo systemctl status httpd -l --no-pager
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2021-01-13 17:28:02 UTC; 1min 9s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 28427 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
 Main PID: 28459 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
    Tasks: 6
   Memory: 6.7M
   CGroup: /system.slice/httpd.service
           ├─28459 /usr/sbin/httpd -DFOREGROUND
           ├─28460 /usr/sbin/httpd -DFOREGROUND
           ├─28461 /usr/sbin/httpd -DFOREGROUND
           ├─28462 /usr/sbin/httpd -DFOREGROUND
           ├─28463 /usr/sbin/httpd -DFOREGROUND
           └─28464 /usr/sbin/httpd -DFOREGROUND

what is the meaning of vendor and preset disabled when running the systemctl status?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @edgarbg585,

If the Vendor preset is Disabled, this means that if your server gets rebooted the service, in your case httpd will not be started automatically.

To change that you can enable the service with the following command:

systemctl enable service_name

Hope that this helps! Regards, Bobby