我正在尝试创建一个运行控制台的服务,以便将来将我所有的crontab命令转换为systemd,但我总是得到这个错误,我尝试了不同的教程和相同的问题。status hello-world.service Loaded: loaded (/usr/lib/systemd[1]: Started Hello World Service.
oct 09 10:06:59 ns37 systemd[1]: he
我试图使用以下命令重新启动systemd-resolved.service:并得到错误消息:
Failed to restartsystemd-resolved.service: Unit systemd-resolved.service is masked.文件systemd-resolved.service存在于文件夹/lib/systemd/system
这里有一个带有CentOS 7的服务器系统。它正在运行systemd,但它没有启动每个用户的systemd:Failed to get D-Bus connection: No such file ordirectory
这使我无法在某些守护进程中使用用户单元。我搜索了一下,看来systemd --user可以由pam_systemd启动。但是,这似乎只在登录时启动systemd<