18

how to auto start or enable service on next boot up or start up? in ubuntu 16.04 lts how to start or enable service on the next boot up or start up? in ubuntu 16.04 lts

without doing it manually enable or start services again everytime i start up or boot up the ubuntu 16.04 lts

thank you

36

It sounds like you're looking for:

systemctl enable example-service.service

It doesn't sound like you have whatever service it is permanently disabled, but if it was, you would do:

systemctl unmask example-service.service

as well to re-enable being able to start the service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.