Skip to content

Regression in exec startup behavior in global block between v2.7.6 and v2.10.0 #7113

@MisterDuval

Description

@MisterDuval

Hello Caddy team,

I wanted to report a regression I encountered with the exec plugin behavior in the global block on Windows 11 (24H2).

In Caddy version v2.7.6 h1, placing an exec directive with startup in the global block worked fine — the command was executed on startup as expected.

However, since upgrading to v2.10.0 h1, the exec directive with startup in the global block is silently ignored and not executed. The shutdown directive still works as expected.

This appears to be a regression in Caddy or in the integration with the exec plugin.

I posted an issue tracking this problem on the caddy-exec plugin repo:
abiosoft/caddy-exec#26

Could you please take a look or guide if this is something in Caddy core or related to plugin compatibility?

Thank you for your help!

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