|
|
cedeb90 |
*Please* read the included README, so you understand the security
|
|
|
cedeb90 |
aspects, and how it all works.
|
|
|
cedeb90 |
|
|
|
cedeb90 |
For the impatient: Run
|
|
|
cedeb90 |
|
|
|
cedeb90 |
etckeeper init
|
|
|
cedeb90 |
cd /etc
|
|
|
cedeb90 |
git status
|
|
|
cedeb90 |
git commit -m 'msg'
|
|
|
cedeb90 |
|
|
|
cedeb90 |
to get etckeeper started.
|
|
|
cedeb90 |
|
|
|
cedeb90 |
Once you do that, the cronjob is in place and it'll do daily
|
|
|
cedeb90 |
autocommits for you. To disable it, set AVOID_DAILY_AUTOCOMMITS=1 in
|
|
|
cedeb90 |
/etc/etckeeper/etckeeper.conf.
|
|
|
cedeb90 |
|
|
|
cedeb90 |
There's also a yum plugin enabled that autocommits before and after
|
|
|
cedeb90 |
each yum transaction. It can be disabled in
|
|
|
cedeb90 |
/etc/yum/pluginconf.d/etckeeper.conf.
|
|
|
cedeb90 |
|
|
|
cedeb90 |
If you ever want to deinstall etckeeper via yum, disable the plugin
|
|
|
cedeb90 |
like this: "yum --disableplugin=etckeeper remove etckeeper".
|