Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Warning if (duplicate) unit is already in systemd #1687

@BenjaminHerbert

Description

@BenjaminHerbert

I submitted a changed service file with fleetctl and it was accepted without warning.
Upon starting the unit, I discovered that the old unit was still used. The reason seems to be that in systemd there was a unit with the same name (and old content), which was invoked instead of the file scheduled to fleetctl.

Is it possible to issue a warning or fail the command in such a case?

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