I can’t get Apache to start; systemctl error is:
/etc/systemd/system/httpd.service.d/override.conf:6: PIDFile= references a path below legacy directory /var/run/,…
httpd.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Neither of these statements is true; here is the override unit file:
[Unit]
Description=The Apache HTTP Server
[Service]
Type=forking
ExecStart=/usr/sbin/httpd $OPTIONS -k start
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k stop
PIDfile=/run
KillSignal=SIGCONT
PrivateTmp=false
[Install]
WantedBy=multi-user.target
/usr/lib/systemd/system/httpd.service.d/php-fpm.conf
[Unit]
Wants=php-fpm.service
What is the best way to debug this and what is it likely seeing?
/etc/systemd/system/httpd.service.d/override.conf