Created
October 2, 2020 11:12
-
-
Save Kitsunetic/df7d34d9e789b1ca18e630a1e0a824cd to your computer and use it in GitHub Desktop.
Revisions
-
Kitsunetic created this gist
Oct 2, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ Edit */etc/rc.local* ``` sudo chmod +x /etc/rc.local ``` Update */lib/systemd/system/rc-local.service* ``` [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 RemainAfterExit=yes GuessMainPID=no [Install] WantedBy=multi-user.target ``` Enable service ``` sudo systemctl start rc-local sudo systemctl status rc-local ```