There are two services in my system : A and B.Before start service A I want take some check automate. If check failed service A no need to start.You may say that I can use  ExecStartPre or ExecStartPre. Yes, but it can not stop service A start.So I want use require in systemd create a new service B who config file like below:[Unit]Description=apiDocumentation=https://github.com/GoogleCloudPlatform/kubernetesBefore=kubelet.service[Service]ExecStart=/bin/bash /root/check_init.sh Restart=no[Install]WantedBy=multi-user.target/root/check_init.sh like this :#!/bin/bashexit 1service A config as below:[Unit]Description=Kubernetes Kubelet ServerDocumentation=https://github.com/GoogleCloudPlatform/kubernetesAfter=docker.serviceAfter=api.serviceRequires=api.service[Service]WorkingDirectory=/var/lib/kubeletEnvironmentFile=-/etc/kubernetes/configEnvironmentFile=-/etc/kubernetes/kubeletExecStart=/usr/bin/kubelet \            $KUBE_LOGTOSTDERR \            $KUBE_LOG_LEVEL \            $KUBELET_API_SERVER \            $KUBELET_ADDRESS \            $KUBELET_PORT \            $KUBELET_HOSTNAME \            $KUBE_ALLOW_PRIV \            $KUBELET_POD_INFRA_CONTAINER \            $KUBELET_ARGSRestart=on-failure[Install]WantedBy=multi-user.targetI thought service B start failed, so service A must failed too. However, service A started.Is there any thing wrong for my config?Thanks!
Require seems doesn't work in systemd
linux;systemd