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"
sometimes vplc started before codemeter service leads to no license condition. maybe should add extra command in template.service?