Question

Some pre-defined services in /etc/rc.conf I want to remove in FreeBsd

There’re some services in FreeBsd in /etc/rc.conf

# vim /etc/rc.conf

sshd_enable="YES"

digitaloceanpre="YES"
cloudinit_enable="YES"
digitalocean="YES"

What are the last 3 for? Can I remove them?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @samoshi

You can safely remove those services, but if you restore a snapshot/backup, it will not spin up correctly, since those services are partly responsible for setting the correct network interface and other specific things of your droplet. That means you have to use the Console via the control panel to re-establish the services to get networking working again or manual edit the configurations.

And if you resize your droplet, there might be problems too. As well as if the data center reboots, then it’s important for getting the droplet up again correctly.

All in it’s very tiny scripts, which are helpful for managing your droplet. I would say the same thing as @mzs114 - leave them.

Please don’t, iirc, I think the scripts do initialization during VPS boot up. You instance might become unreachable when it boots up as it is not registered to DO service. If necessary checkout the exact scripts these statements invoke.