Using upstart for synchronisation

Roeland Pledts roeland.pledts at telenet.be
Mon Nov 7 09:31:42 UTC 2011


In my home network, all data is stored on a NAS. When I boot my pc's,
the shares are automatically mounted (via /etc/fstab). However, when I
use my laptop anywhere else, I have no access to these shares (and
data).

I wonder if with upstart a similar functionality can be obtained as
"offline folders" does in Windows. In that sense, I think a
configuration file in /etc/init/ should dicdate that when a user logs on
or off a synchronisation (rsync) between a folder on the pc and the
server/nas automatically occurs.

Is that correct? And if so, how should the configuration file look like?

Kind regards
Roeland Pledts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20111107/530e582d/attachment.html>


More information about the upstart-devel mailing list