Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.83 KB

README.md

File metadata and controls

64 lines (46 loc) · 1.83 KB

A Sysconf profile

This is a SYSCONF profile. SYSCONF is a method and tool to manage custom system files for easy install, backup and sync.

MySQL service

Once applied, a MySQL should be running on the system.

# netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -               

Gitted import/export

This profile provides:

They are called for import/export from/to the master branch by Gitted's master.import and master.export.

By default, they act on database mysql and repository directory mysql. You can change that by providing /etc/gitted/sync/defs with:

GITTED_MYSQL_DATA_PATH=mysql_data
GITTED_MYSQL_DATABASE=mydatabase

Gitted integration

git subtree add -P sysconf/sysconf.gitted.mysql [email protected]:geonef/sysconf.gitted.mysql.git master
  • Integrate it in the dependency chain, for example:
echo sysconf.gitted.mysql >sysconf/actual/deps
  • Then push it to the container:
sysconf/gitted-client register
git push <name> master

Authors

Written by Jean-Francois Gigand [email protected]. Feel free to contact me!