2
หน่วย systemd ที่เปิดใช้งานไม่เริ่มทำงานเมื่อบู๊ต
ฉันsystemd-unitใช้งานระบบของฉันแล้ว ปัญหาคือมันไม่รีสตาร์ทหลังจากรีบูต ขึ้นอยู่กับบริการอื่นสองบริการที่เริ่มต้นอย่างที่คาดไว้ บริการรู้จักใช้งานและไม่ทำงาน: [centos@ansible-kube-4 ~]$ sudo systemctl status flanneld flanneld.service - Flanneld overlay address etcd agent Loaded: loaded (/usr/lib/systemd/system/flanneld.service; enabled) Active: inactive (dead) ไฟล์หน่วย: [centos@ansible-kube-4 ~]$ cat /usr/lib/systemd/system/flanneld.service [Unit] Description=Flanneld overlay address etcd agent After=network.target After=etcd.service [Service] Type=notify Restart=always RestartSec=3 EnvironmentFile=/etc/sysconfig/flanneld EnvironmentFile=-/etc/sysconfig/docker-network ExecStart=/usr/bin/flanneld -etcd-endpoints=${FLANNEL_ETCD} -etcd-prefix=${FLANNEL_ETCD_KEY} $FLANNEL_OPTIONS ExecStartPost=/usr/libexec/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS …
35
systemd