/profile-sync-daemon

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

Primary LanguageShellOtherNOASSERTION

#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.

##NOTE FOR VERSION 6 My desktop distro (Arch) switched to systemd a while ago and other big ones (Fedora, Debian, Ubuntu) have followed suite. With the release of psd version 6.x I will no longer be supporting alternative init systems such as upstart and openrc. It is to complex for me to maintain and test multiple configurations on non-native init systems for me.

Also of note for version 6.x is that no longer does psd run in as a system service. It now runs as a user service. This is much more simple and means that:

  • There is no more need for /etc/psd.conf and the USERS array therein.
  • Different users can have their own config files that THEY own (~/.psd/psd.conf).
  • Encrypted $HOME should be supported under this model (NOT yet implemented).

Update instructions from version 5.x:

  • Stop psd v5.7x and close your browsers.
  • Build the package linked above and install it.
  • Run psd to create your ~/.config/psd/psd.conf and then edit it as you normally would.
  • Check it in parse mode psd p and if happy with the output, run it via systemd usermode: systemctl --user start psd (and optionally enable it).

Note that if you're using overlayfs mode, your user needs to have sudo right to /usr/bin/psd-overlay-helper or else psd will refuse to run in overlayfs mode.

##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

  • logoAntergos: in the official repos.
  • logoExherbo: in the official repos.
  • logoFedora: in the official repos.
  • logoGentoo: in the official repos.
  • logoVoid: in the official repos.

User Packaged

###Debian Users You must be using AT LEAST Debian 8.0 (Jessie) or have systemd as your init system to use these packages! To add the PPA (personal package archive) to your Debian system; do the following as the root user:

echo "deb http://ppa.launchpad.net/graysky/utils/ubuntu vivid main" > /etc/apt/sources.list.d/graysky.list
echo "deb-src http://ppa.launchpad.net/graysky/utils/ubuntu vivid main" >> /etc/apt/sources.list.d/graysky.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F0E0B4E7
apt-get update
apt-get install profile-sync-daemon

###Fedora Users Since June of 2013, Profile-sync-daemon is in the official repo. Reference.

sudo yum install profile-sync-daemon

###Ubuntu Users You must be using AT LEAST Ubuntu 15.04 (Vivid) or have systemd as your init system to use these packages! To add the PPA (personal package archive) to your Ubuntu system (packages available for Vivid and newer), and to install psd:

sudo add-apt-repository ppa:graysky/utils
sudo apt-get update
sudo apt-get install profile-sync-daemon

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