On CentOS 7 I wanted to check the status of the nginx
service:
# systemctl status nginx -l
nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled)
Active: inactive (dead)
Jun 30 03:40:08 dev01 systemd[1]: [/usr/lib/systemd/system/nginx.service:13]
Failed to parse kill mode, ignoring mixed
So then I enabled it: # systemctl enable nginx
and checked it again:
# systemctl status nginx -l
nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: inactive (dead)
Jun 30 03:40:08 dev01 systemd[1]: [/usr/lib/systemd/system/nginx.service:13]
Failed to parse kill mode, ignoring mixed
Jun 30 03:40:21 dev01 systemd[1]: [/usr/lib/systemd/system/nginx.service:13]
Failed to parse kill mode, ignoring mixed
What is this error? And how come every time I do: # systemctl enable nginx
, the status
adds another copy of the error at the bottom. I did the enable
like 4 or 5 times in a row and then status
shows like 5 of these errors. What is this error about?
Also, when I finally start
the service, all these errors disappear from the status
.