Skip to content

Instantly share code, notes, and snippets.

@andrewhodel
Created August 2, 2023 00:35
Show Gist options
  • Select an option

  • Save andrewhodel/b65aaa05468f0b17c04b24f2e7839750 to your computer and use it in GitHub Desktop.

Select an option

Save andrewhodel/b65aaa05468f0b17c04b24f2e7839750 to your computer and use it in GitHub Desktop.

Revisions

  1. andrewhodel renamed this gist Aug 2, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. andrewhodel created this gist Aug 2, 2023.
    16 changes: 16 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    sudo systemctl status rc-local

    sudo systemctl enable rc-local

    sudo systemctl start rc-local

    sudo systemctl status rc-local

    # it doesn't start because /etc/rc.d/rc.local does not exist
    sudo ln -s /etc/rc.local /etc/rc.d/rc.local

    sudo systemctl start rc-local

    sudo systemctl status rc-local

    # works