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?