graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

add backuping of config file #70

Closed nefelim4ag closed 10 years ago

nefelim4ag commented 10 years ago

config file backuped, when psd first start, to place around Daemon file. When psd recive unsync signal he delete this file. if psd using sync (psd launched the second time), he read settings from a backup of config file. This patch can help to avoid problem, when config file changed, while psd working.

graysky2 commented 10 years ago

OK, I get it. You have redefined the location of config file once it is sourced to keep things from getting into trouble.

graysky2 commented 10 years ago

I merged and updated a bit. Please inspect https://github.com/graysky2/profile-sync-daemon/commit/10e425f2203258f5ef06a1d489f39743d7194a9a