miranda:~# systemctl is-enabled --full postfix@-
enabled-runtime
miranda:~# systemctl is-enabled --full tinydns
enabled
/etc/systemd/system/multi-user.target.wants/tinydns.service
miranda:~# ls -la /run/systemd/system
total 0
drwxr-xr-x 2 root root 40 Jan 20 07:46 .
drwxr-xr-x 24 root root 620 Feb 1 16:35 ..
miranda:~#根据systemctl手册页,“启用-运行时”应该是/run/systemd/system中某个位置的链接,但该目录是空的。-我正在试图了解我的默认后缀实例( postfix @-)是如何出现的。它显示为启用运行时,但即使--full也没有给出任何解释(例如,对于tinydns)。
发布于 2023-05-18 17:09:10
好吧,这个手册是错的,多亏了吊艇架的S现在删除的评论,我找到了链接:
/run/systemd/generator/postfix.service.wants/postfix@-.service(链接到/lib/systemd/system/postfix@.service)。
https://unix.stackexchange.com/questions/688868
复制相似问题