Worth Debian 7 . In / etc / rc.local recorded data

 screen -d -m -S jabber sh /var/www/jabber/jabber.sh 

jabber.sh content

 #!/bin/sh cd /var/www/jabber/ mono JabberMatrixConsole.exe 

If I manually write screen -d -m -S jabber sh /var/www/jabber/jabber.sh it screen -d -m -S jabber sh /var/www/jabber/jabber.sh it works, but autoloading does not want to work. How to be?

  • one
    You or rc.local does not start (check that in /etc/rc2.d there should be a link like Snnrc.local, where nn is a number indicating /etc/rc.local). If not, then it must be created. The figure is better to put more. Or there may be problems with the paths. Try to specify full paths to the screen and especially to mono - Mike
  • 1. How did you determine that “not working”? 2. on behalf of which user do you run the command “If I manually write ...”? 3. /etc/rc.local in general is interpreted at you when loading? - aleksandr barakin

0