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.

conflicts with mutilple units #1245

@duffqiu

Description

@duffqiu

Hi,

I configure a unit with conflicts, but i do that to set muliple units in one line as below:

Conflicts=activemq-hub-slave1@*.service activemq-hub-master@%i.service activemq-hub-slave2@%i.service

but only the first one wokr, the other doesn't work.

I try to another way with mutiple Conflicts lines, one line with one unit,
it seems works
like below:

Conflicts=activemq-hub-master@*.service
Conflicts=activemq-hub-slave1@%i.service
Conflicts=activemq-hub-slave2@%i.service

what is the problem? it is a bug or not? or it is the systemd bug?

I check systemd spec, it mentions it can be configures with mutilple units in one line.

systemd spec

the fleet version is 0.9.2 in coreos 647.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions