bundle exec cap production deploy
. Do not use ansible-playbook
.capistrano
for deployments.rurema
user.systemctl list-timers
)/var/rubydoc
/var/www/docs.ruby-lang.org
/etc/nginx/sites-available/docs.ruby-lang.org
/var/www/docs.ruby-lang.org/shared/public/{en,ja}/*
ja
are from https://github.com/rurema/generated-documents since 2024-06-06./home/rurema/.docs-fastly
/etc/systemd/system/notify-to-slack.env
/etc/mackerel-agent/mackerel-agent.conf
cap production deploy
Manual sync with conf/docs.ruby-lang.org
.
Because ansible playbooks are outdated.
Install mackerel-check-plugins
too.
Add/Modified:
[filesystems]
ignore = "/dev/loop*"
[plugin.checks.fileage-bc-setup-all]
command = ["check-file-age", "-i", "-w", "90000", "-c", "172800", "-f", "/run/docs.ruby-lang.org/bc-setup-all.updated"]
[plugin.checks.fileage-bc-static-all]
command = ["check-file-age", "-i", "-w", "90000", "-c", "172800", "-f", "/run/docs.ruby-lang.org/bc-static-all.updated"]
[plugin.checks.fileage-rdoc-static-all]
command = ["check-file-age", "-i", "-w", "90000", "-c", "172800", "-f", "/run/docs.ruby-lang.org/rdoc-static-all.updated"]
[plugin.checks.fileage-update-rurema-index]
command = ["check-file-age", "-i", "-w", "90000", "-c", "172800", "-f", "/run/docs.ruby-lang.org/update-rurema-index.updated"]