Go to file
2022-09-22 18:17:43 +02:00
systemd-templates Add install script and Systemd units 2022-03-12 18:15:04 +01:00
.gitignore Add the ability to disable install 2022-03-17 14:55:37 +01:00
conf-sync.sh When .disabled is present, do not pull repo 2022-08-19 21:00:45 +02:00
install.sh Fix error preventing the install script to be run unattended 2022-09-22 18:17:43 +02:00
README.md Correct typo in README 2022-03-16 14:27:14 +01:00
variables.conf.template Add shebang to variables file 2022-03-16 15:02:12 +01:00

Configuration synchronization

Version 2

conf-sync's purpose is to update regularly all configuration files, scripts or service files that are installed on a system.

Introduction

Version 2 implementation works roughly as follows:

  • the script runs daily;
  • it browses all local Git repositories (in a specific directory) and run git pull;
    • if changes are detected, it runs install script (if present).

Files

  • conf-sync.sh is the main script, which updates the files.
  • variables.conf.template contains examples variables definitions, and should be copied locally to variables.conf (with any required modifications).
  • systemd-templates/ contains Systemd units templates for running the script unattended.

Installation

  • install.sh script copies Systemd templates to their destination, and enables conf-sync timer.

TODO

  • Add install support for OpenBSD