/sbin/reload: No such file or directory

[root@ns7dev9 ~]# cat /etc/logrotate.d/httpd-admin 
/var/log/httpd-admin/*log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
        /sbin/reload httpd-admin > /dev/null 2>/dev/null || true
    endscript
}

 [root@ns7dev9 ~]# /sbin/reload httpd-admin
    -bash: /sbin/reload: No such file or directory

@dev_team we have a problem on ns7.4

it should be probably

systemctl reload httpd-admin

5 Likes

Great catch @stephdl!

I cannot understand how it worked until now because “reload” is an upstart command that shouldn’t be available in ns7 branch. Probably it never worked correctly.

Would you mind filing a bug?

Was fixed here