Advertisement
orborbson

asd.conf

Jun 21st, 2024 (edited)
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.85 KB | Software | 0 0
  1. #
  2. # /etc/asd.conf
  3. #
  4. # For documentation, refer to the asd man page
  5.  
  6. ## WARNING Do NOT edit anything in this file while asd is running!
  7. ## To protect data from corruption, in the event that you do make an edit
  8. ## while asd is active, any changes made will be applied the next time
  9. ## you start-up asd.
  10.  
  11. # Define the target(s) directories in the WHATTOSYNC array.
  12. # Do NOT define a file! These MUST be directories with an absolute path.
  13. #
  14. # Note that the target DIRECTORIES and all subdirs under them will be included.
  15. # In other words, this is recursive.
  16. #
  17. # Below is an example to whet your appetite.
  18. #WHATTOSYNC=('/srv/http' '/var/lib/monitorix' '/foo/bar')
  19. WHATTOSYNC=(
  20. '/home/bob/.cache'
  21. '/var/log'
  22. '/var/lib/apt'
  23. '/var/cache/apt'
  24. '/home/bob/.config/qterminal.org'
  25. '/home/bob/.config/geany/'
  26. '/home/bob/.config/featherpad'
  27. '/home/bob/.local/share/gvfs-metadata'
  28. '/home/bob/.local/state'
  29. )
  30.  
  31. # Define where data will reside in tmpfs.
  32. # This location must be mounted to tmpfs and MUST be writable and executable.
  33. #
  34. # If using bleachbit, do NOT invoke it with the '--clean system.tmp' switch or
  35. # you will remove a key dot file (.foo) from /tmp that asd needs to keep track
  36. # of sync status.
  37. #
  38. # Note that using a value of '/dev/shm' can cause problems with systemd's
  39. # NAMESPACE spawning only when users enable the overlayfs option.
  40. #
  41. VOLATILE="/tmp"
  42.  
  43. # ASD can break hardlinks present in the system, it has a safety check to ensure
  44. # that the synced directories don't have the presence of any hardlinks in them
  45. # by default, incase you want the directory to work standalone
  46. # and not affect any other hardlinks of the files present in the synced directory,
  47. # you can disable this safety check
  48. ENABLE_HARDLINK_SAFETY_CHECK=1
  49.  
  50. # Uncomment and set to yes to use an overlayfs instead of a full copy to reduce
  51. # the memory costs and to improve sync/unsync operations.
  52. #
  53. # You must modprobe either the 'overlayfs' or 'overlay' module prior to running asd if
  54. # you enable this option. Distros running the linux kernel version >=3.18.0 are likely
  55. # using the 'overlay' module while some distros shipping older kernels, notably Ubuntu
  56. # provide the older version of this technology which is provided in the 'overlayfs'
  57. # module not 'overlay' module.
  58. USE_OVERLAYFS="yes"
  59.  
  60. # Uncomment and set to no to completely disable the crash recovery feature of asd.
  61. #
  62. # The default is to create crash recovery backups if the system is ungracefully
  63. # powered-down due to a kernel panic, hitting the reset switch, battery going
  64. # dead, etc. Some users keep very diligent backups and don't care to have this
  65. # feature enabled.
  66. USE_BACKUPS="yes"
  67.  
  68. # Uncomment and set to an integer that is the maximum number of crash recovery
  69. # snapshots to keep (the oldest ones are delete first).
  70. #
  71. # The default is to save the most recent 5 crash recovery snapshots.
  72. BACKUP_LIMIT=1
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement