Published at

Configure a service to automatically start at boot Ubuntu server

Configure a service to automatically start at boot Ubuntu server

Learn how to configure a service to automatically start at boot Ubuntu server.

Recently I set up a freeradius server to work with DUO MFA for a remote access VPN. Everything worked but I had to reboot the server and I noticed the freeradius server service was not running after the reboot.

Please note you can replace the freeradius service with the name of the service with which you are working.

To enable the service to automatically start I ran the following command-

Terminal window
systemctl enable freeradius.service

To disable a service from automatically starting you can run the following command

Terminal window
systemctl unmask freeradius.service