Skip to content

SYSCONF profile providing a MySQL service with Gitted import/export

Notifications You must be signed in to change notification settings

geonef/sysconf.gitted.mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

SYSCONF profile providing a MySQL service with Gitted import/export

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages