Skip to content

pidfile should not be added to global config when using systemd #636

@h-haaks

Description

@h-haaks

Describe the Bug

The default global_options in params.pp contains 'pidfile' which since haproxy 2.8 results in the following warning when haproxy is started as a systemd service.

[WARNING]  (124314) : config : parsing [/etc/haproxy/haproxy.cfg:9] : 'pidfile' already specified. Continuing.

Expected Behavior

When haproxy is started with '-p ' on the command line 'pidfile' should not be added to global config.

Environment

  • Platform Rockylinux 10

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