vendor and preset disabled

Posted January 13, 2021 3.9k views

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)
  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?

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.

Submit an Answer
1 answer

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!