Bananian
How to run services after reboot in 15.08 (rc.local seems not to be executed ...
4
1633
View: 1633|Reply: 4
|
[Bananian]
How to run services after reboot in 15.08 (rc.local seems not to be executed ...
[Copy link]
|
|
Hi,
I have some initialisations and scripts which in former versions of Bananian were executed out of /etc/rc.local.
Since the update to 15.08 it seems that rc.local is no longer executed at system boot.
Is there a way to run rc.local automatically or is there another mechanism to start services / commands at boot time?
Thanks in Advance
Harald
|
|
|
|
|
|
|
|
Hi Harald,
rc.local is still working in 15.08.
Just watch out that you put your scripts before the last line 'exit 0'.
greats
Nebkas
|
|
|
|
|
|
|
|
Hi nebkas.
my command works fine from command promt. But it doesnt work when i write it inside rc.local.
- /usr/bin/screen -dmS test cgminer -o stratum+tcp://stratum.solo.nicehash.com:3334 -u 16jErG13TMKqRRFh16idpU23tiYrUAJEQh.togepi -p x --au3-freq 240.0 --au3-volt 800
Copy the Code what do i do wrong? I need this to start at reboot.
I also tried creating a cron with @reboot keyword. But it didnt work either.
Can you please help me?
|
|
|
|
|
|
|
|
Are you sure it did not start? rc.local ran as root, so if you run 'screen -r' with normal user you'll resume nothing.
|
|
|
|
|
|
|
|
I run screen -r as root and it still resumes to nothing.
|
|
|
|
|
|
|