Freebsd rc troubleshooting: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 October 2022

  • curprev 18:3518:35, 22 October 2022Will talk contribs 586 bytes +586 Created page with "= Force Starting Broken InitScripts = <blockquote> Sometimes, you don't have time to troubleshoot why a particular command is not working. You can get around this in two ways: ''' rc.local method ''' <source lang="bash"> # /etc/rc.local /usr/local/etc/rc.d/${MY_SERVICE} start # bypass rc.d init and run </source> ''' crontab method ''' <source lang="bash"> su crontab -u </source> <source lang="bash"> # crontab @reboot /usr/local/etc/rc.d/<my_service> start </source>..."