Skip to content

Changing Port st2auth listens to without touching systemd service file #320

Description

@rdancel001

I noticed that the port that st2auth listens on is defined in st2.conf and in the systemd service file as a hardcoded value. I was wondering if it was possible to get the port number changes to something else, like 9105, before its setup as a service so that when the service is created, it'll reflect that new port?

Reason for the change is node_exporter uses 9100 to allow Prometheus to scrape the metrics from it. Installation of the exporter is done during our VM provisioning process so its something that would be less likely to change.

I'd like to avoid directly modifying the systemd file, if possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions