Skip to content

srathbun/firefox-tmpfs-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firefox-tmpfs-daemon

firefox-tmpfs-daemon in an init script for Debian based linux systems. Available from github. It synchronizes all ~/.mozilla directories to tmpfs at boot and stop time.

Please note that the current version does not auto start! I have not had the time to track this issue down. If you find it, please issue a pull request.

Inspired by AUR.

Installation

  1. Download the latest version with git
  2. Copy ffox-tmpfs to /etc/init.d
  3. chmod 775 /etc/init.d/ffox-tmpfs
  4. Copy firefox-tmpfs.conf to /etc
  5. update-rc.d ffox-tmpfs defaults
  6. Add a tmpfs to your fstab file ( see example )
  7. Edit firefox-tmpfs.conf to point to your tmpfs, if not /tmp
  8. Add cron entry to back up profile periodically ( see example )

Example tmpfs entry ramdrive /tmp tmpfs size=1G 0 0

Adjust size to be amount of ram you wish to use. Tmpfs does not survive powerloss! Make sure that programs do not store data there if you want it kept. Otherwise, create a new folder to use as the tmpfs, such as /media/ramdrive.

Example cron entry 30 * * * * service ffox-tmpfs save

Run every thirty minutes and save profile.

The default options listed in the installation are followed by the install.sh script, except for getting the repository. Use at your own risk!

About

A debian init script "daemon" to syncronize ~/.mozilla directories into a tmpfs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages