Skip to content

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.

License

Notifications You must be signed in to change notification settings

natmaka/profile-sync-daemon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Profile-sync-daemon

Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage your browser's profile in tmpfs and to periodically sync it back to your physical disc (HDD/SSD). This is accomplished via a symlinking step and an innovative use of rsync to maintain back-up and synchronization between the two. One of the major design goals of psd is a completely transparent user experience.

Good Advice

Before using psd for the first time stop (quit, exit) your browser then backup its profile(s).

Users of eCryptFS

User of eCryptFS are encouraged not to use psd unless willing to help troubleshoot suspected browser corruption. See #158.

Supported Browsers

Documentation

Consult the man page or the wiki page: https://wiki.archlinux.org/index.php/Profile-sync-daemon

Installation from Source

To build from source, see the included INSTALL text document.

Installation from Distro Packages

Officially Packaged

  • Arch: in the community repo.
  • Debian: in the official repos.
  • Exherbo: in the official repos.
  • Fedora: in the official repos.
  • Gentoo: in the official repos.
  • NixOS: in the official repo.
  • Ubuntu: in Universe repo.

User Packaged

Other Distros

If you are interested in packaging psd for your favorite distro, please contact me.

logcheck

Using logcheck? Here are some ways to filter out log lines:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ profile-sync-daemon\[[0-9]+\]: psd startup check successful$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ profile-sync-daemon\[[0-9]+\]:[[:space:]]+[^[:space:]]+ (re|un)sync successful
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ systemd\[[0-9]+\]: Started Timer for profile-sync-daemon
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ profile-sync-daemon\[[0-9]+\]: psd startup check successful$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ profile-sync-daemon\[[0-9]+\]:[[:space:]]+[^[:space:]]+ (re|un)sync successful
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ systemd\[[0-9]+\]: psd(-resync)?\.service: Consumed [0-9\.]+s CPU time\.$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ systemd\[[0-9]+\]: psd(-resync)\.timer: Succeeded\.$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ systemd\[[0-9]+\]: run-user-[0-9]+-[^[:space:]]+: Succeeded\.$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sudo:[[:space:]]+guest : PWD=/home/guest ; USER=root ; COMMAND=/usr/bin/psd-overlay-helper

About

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 91.9%
  • Makefile 8.1%