我的Arch系统自动启动rpcbind
。我要怎么做才能阻止systemd
这样做呢?/etc/fstab
中没有远程文件系统。我发现了rpcbind启动的唯一原因是,据推测,这是多用户目标想要的,但是目录中没有服务。我怎么才能弄清楚它为什么会真正开始呢?
发布于 2014-12-26 23:09:55
使用systemd,在引导时停止服务的方法是使用disable
选项,因此在这个实例中,您可以使用命令systemctl disable rpcbind
,下面是我在Fedora 20系统上运行时所看到的输出的一个例子;
chris::test::07:08:29-> sudo systemctl disable rpcbind
rm '/etc/systemd/system/multi-user.target.wants/rpcbind.service'
rm '/etc/systemd/system/sockets.target.wants/rpcbind.socket'
https://unix.stackexchange.com/questions/176115
复制