- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/opt/gitlab/sv/logrotate/control/t] action create[2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/control/t] created file /opt/gitlab/sv/logrotate/control/t
- - create new file /opt/gitlab/sv/logrotate/control/t[2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/control/t] updated file contents /opt/gitlab/sv/logrotate/control/t
- - update content in file /opt/gitlab/sv/logrotate/control/t from none to 8fa3fa
- --- /opt/gitlab/sv/logrotate/control/t 2025-04-23 14:19:28.012639485 +0800
- +++ /opt/gitlab/sv/logrotate/control/.chef-t20250423-16789-2tp1dk 2025-04-23 14:19:28.011639477 +0800
- @@ -1,3 +1,6 @@
- +#!/bin/sh
- +echo "Received TERM from runit, sending to process group (-PID)"
- +kill -- -$(cat /opt/gitlab/service/logrotate/supervise/pid)[2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/control/t] owner changed to 0
- [2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/control/t] group changed to 0
- [2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/control/t] mode changed to 755
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * link[/opt/gitlab/init/logrotate] action create[2025-04-23T14:19:28+08:00] INFO: link[/opt/gitlab/init/logrotate] created
- - create symlink at /opt/gitlab/init/logrotate to /opt/gitlab/embedded/bin/sv
- * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
- [2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/run] sending run action to ruby_block[restart_service] (delayed)
- * ruby_block[restart_service] action run (skipped due to only_if)
- [2025-04-23T14:19:28+08:00] INFO: template[/opt/gitlab/sv/logrotate/log/config] sending create action to ruby_block[reload_log_service] (delayed)
- * ruby_block[reload_log_service] action create
- * ruby_block[restart_service] action nothing (skipped due to action :nothing)
- * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
- * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
- * directory[/opt/gitlab/sv/logrotate] action create (up to date)
- * template[/opt/gitlab/sv/logrotate/run] action create (up to date)
- * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
- * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
- * template[/opt/gitlab/sv/logrotate/log/config] action create (up to date)
- * ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
- * link[/var/log/gitlab/logrotate/config] action create (up to date)
- * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
- * directory[/opt/gitlab/sv/logrotate/env] action create (up to date)
- * ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
- * template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
- * template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
- * directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
- * template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
- * link[/opt/gitlab/init/logrotate] action create (up to date)
- * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
- * directory[/opt/gitlab/service] action create (up to date)
- * link[/opt/gitlab/service/logrotate] action create[2025-04-23T14:19:28+08:00] INFO: link[/opt/gitlab/service/logrotate] created
- - create symlink at /opt/gitlab/service/logrotate to /opt/gitlab/sv/logrotate
复制代码 |