This is a SYSCONF profile. SYSCONF is a method and tool to manage custom system files for easy install, backup and sync.
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 -
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
-
To create a new Gitted repository, follow the instructions at How to setup Gitted for an application
-
Then add this Sysconf profile:
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
Written by Jean-Francois Gigand [email protected]. Feel free to contact me!