WordPress.org plugin/theme closures and re-openings are admin actions with no SVN footprint, so the existing SVN-driven pipeline never detects them. This adds a dedicated daily command that re-checks all packages against the wp.org API and flips is_active accordingly. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
493 B
Django/Jinja
13 lines
493 B
Django/Jinja
[Unit]
|
|
Description=WP Packages Check Status (detect closures and re-openings)
|
|
OnFailure=wppackages-pipeline-notify@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=deploy
|
|
Group=www-data
|
|
WorkingDirectory={{ app_root }}/current
|
|
ExecStart={{ app_root }}/current/{{ go_binary_name }} check-status --db {{ db_path }}
|
|
StandardOutput=append:{{ app_root }}/shared/storage/logs/check-status.log
|
|
StandardError=append:{{ app_root }}/shared/storage/logs/check-status.log
|
|
EnvironmentFile={{ app_root }}/shared/.env
|