Skip to content

Sometimes vplc start before local codemter service #4

@Leeable

Description

@Leeable

sometimes vplc started before codemeter service leads to no license condition. maybe should add extra command in template.service?

[Unit]
Description=VPLCNEXTCONTROL CONTAINER
After=network.target

ConditionPathExists=/usr/lib/systemd/system/codemeter.service


[Service]
Type=simple

# fix when vplc service start before host codemeter
ExecCondition=/bin/bash -c "if [ -f /usr/lib/systemd/system/codemeter.service ]; then while ! systemctl is-active --quiet codemeter.service; do sleep 1; done; fi"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions