[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to excute things on boot from /etc/rc.local



Le lundi 30 septembre 2019 19:50:04 UTC+2, yoda woya a écrit :
> The content of my rc.local  has two lines:
> /usr/local/bin/ipnat
> exit 0
> 
> 
> 
> However on boot 
> 
> /usr/local/bin/ipnat  in not executed.
> 
> 
> How can I get debian to execute the content of my rc.local file.  BTW after boot,  /usr/local/bin/ipnat  can be executed manually without issues.
> 
> 
> 
> Any assistance would be greatly appreciated.

Hello,

Is your system a Systemd one (by default in Debian), you have to enable rc.local:
 https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd  


Reply to: