Etckeeper

From XennisWiki
Jump to: navigation, search

Ectkeeper puts the /etc directory under a version control, by default Git.

Installation

Arch Linux

pacman -S etckeeper

Setup

Initialize etckepper and enable the timer service for daily auto-commits.

etckeeper init
systemctl enable etckeeper.timer

Alternatively you could use Cron

cp <etckeeper project>/debian/cron.daily /etc/cron.daily/etckeeper
chmod u+x /etc/cron.daily/etckeeper

Usage

Print Git log

sudo -u root bash
cd /etc
git log

See also

External links