I have a Ubuntu 14.04 Server which, during boot, should sync some stuff over the network before any normal user can log in (over ssh).
I was wondering whether calling the script from /etc/rc.local
is the right place?
Looking at the comment of this script:
This script is executed at the end of each multiuser runlevel.
It looks like it is called after the system is ready to accept logins from users.
This is how I understand the "at the end of each multiuser runlevel".
I have seen the answer here: Purpose and Typical Usage of /etc/rc.local
, I still found it a little ambiguous.
UPDATE
A little more context is appropriated: It is an automated process, where user are actually many machines polling the server to log in....
innserv
,systemd
, orupstart
), no, the login manager will not depend onrc.local
. – jordanm May 08 '15 at 13:16