Bureaucrats, confirmed, Administrators
4,558
edits
(recipe) |
(add executable bits to hook) |
||
Line 9: | Line 9: | ||
# change VCS to 'git' by commenting out bzr; and uncomment git | # change VCS to 'git' by commenting out bzr; and uncomment git | ||
vim etckeeper/etckeeper.conf | vim etckeeper/etckeeper.conf | ||
# add the contents below to etckeeper/commit.d/20mirror-outside-files | |||
# and make it executable | |||
chmod a+x etckeeper/commit.d/20mirror-outside-files | |||
# create your repo | |||
etckeeper init | etckeeper init | ||
# commit your files | |||
etckeeper commit | |||
# now everything should just happen automagically anytime something in etc changes | |||
</source> | </source> | ||