This is a SYSCONF profile. SYSCONF is a method and tool to manage custom system files for easy install, backup and sync.
This profile provides a Textree service. Textree is a Jade-like syntax processor that allows easy writing of HTML or XML files with auto-templating and Javascript-based scripting features.
# netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6586/nodejs
tcp6 0 0 :::11211 :::* LISTEN -
- The main service is Textree, running on port 80.
- A Memcached service is running on port 11211
Textree data is pushed through Git/Gitted (see below "Gitted integration"), as a directory named textree.
- See: master.textree.import responsible to update textree from the external push.
Other import/export provided by dependencies:
- sysconf.gitted provides import/export of the
sysconf/
directory
-
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.textree [email protected]:geonef/sysconf.textree.git master
- Integrate it in the dependency chain, for example:
echo sysconf.textree >sysconf/actual/deps
-
Create textree data in
textree/root/
-
Commit 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!