How to make the rpcbind.service auto start in systemd on Linux?

The command systemctl enable rpcbind.service seems not work. The rpcbind.service does not start after rebooting.

How to make/force the rpcbind.service auto start in systemd on Linux?

You an force the rpcbind.service to start by making it be “wanted” by the target such as multi-user:

# systemctl add-wants multi-user rpcbind.service

This will force rpcbind.service to start.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *