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?

Subscribe
Share

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

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.

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.