Skip to content

Instantly share code, notes, and snippets.

@mehmetkurt
Last active October 19, 2021 15:41
Show Gist options
  • Save mehmetkurt/609b5e3c62613459bf0e6c26293831cd to your computer and use it in GitHub Desktop.
Save mehmetkurt/609b5e3c62613459bf0e6c26293831cd to your computer and use it in GitHub Desktop.
Ubuntu Service Cheet Sheet

Ubuntu Service Cheets

Ubuntu Service Auto Start When Reboot

sudo update-rc.d service_name defaults

If you get an error message like below;

System start/stop links for /etc/init.d/service_name already exist.

Do It;

sudo update-rc.d service_name enable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment