CentOS 8中 Failed to enable unit: Unit file corda.service does not exist.
背景
部署一个节点服务网,用到了linux自带的 systemctl 服务
问题: 无法加载节点服务
# sudo systemctl enable corda.service
Failed to enable unit: Unit file corda.service does not exist.
解决方式:
nmcli c reload
结果
[root@hostsystem]# sudo systemctl enable corda.service
Created symlink /etc/systemd/system/multi-user.target.wants/corda.service → /etc/systemd/system/corda.service.