diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 23:58:12 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 23:58:12 -0500 |
commit | ad7202a18498d46420aefba9b0746ea187dd0472 (patch) | |
tree | 03c4a926be3170237973fd1bf21a68c4502f93e4 /README | |
parent | 9b4d973cc3bb5ddee00b1c20ef5f1edec8f9ac3a (diff) |
stop symlink farming
Diffstat (limited to 'README')
-rw-r--r-- | README | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -125,10 +125,9 @@ control, the sky's the limit.. ## configuration etckeeper uses `run-parts` to run the executable files in -`/etc/etckeeper/$command.d/`. By default these directories contain a bunch -of symlinks to the actual files; you can remove or reorder the symlinks, or -add your own custom files. Each individual file is short, simple, and does -only one action. +`/etc/etckeeper/$command.d/`. You can modify these files, or add your own +custom files. Each individual file is short, simple, and does only one +action. For example, here's how to configure it to run `git gc` after each apt run, which will save a lot of disk space: @@ -142,7 +141,7 @@ which will save a lot of disk space: Here's how to disable the automatic commits after each apt run, while still letting it git-add new files and git-rm removed ones: - rm /etc/etckeeper/post-apt.d/75git-commit + chmod -x /etc/etckeeper/post-apt.d/75git-commit Note that the etckeeper commands are careful to not hardcode anything about git. If you want to use some other revision control system, that's |