Re: Apache (httpd) fails to start at boot - Centos 8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 16/6/20 4:15 pm, Alessandro Baggi wrote:

Note: when you will get update for httpd package all could be reverted to the original status, so to avoid that your modified httpd.service will get an overwrite, create an alternative httpd.service in /etc/systemd/system (if I'm not wrong).

Probably there is a new way to do this.

The new way to do this is exactly what Gordon suggested - using `systemctl edit <servicename>` creates an override in `/etc/systemd/system/httpd.service.d/override.conf`.

The only issue is that there is no `systemctl` related command to remove this override - you will have to remember to `rm -rf /etc/systemd/system/httpd.service.d` if/when you want to remove that override.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux