Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Add Hooks to run custom steps pre/post each action #91

@iversond

Description

@iversond

Add a hook system into psadmin-plus so that users can extend psa with custom actions for their domains. For example, after a domain is started, you may want to start a monitoring script and then kill the script before the domain is stopped.

  • Add option for PRE/POST/REPLACE for each action
  • Support multiple hooks per action
  • Support for documenting steps in the .psa.conf or additional file:
---
app:
  start: 
    pre:
      - /path/to/script.sh
      - /path/to/script2.rb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions