Differences

This shows you the differences between two versions of the page.

en:servicemanager [2011/03/01 12:10]
tantalus created
en:servicemanager [2011/05/07 14:39] (current)
tantalus
Line 4: Line 4:
  
 {{:de:sm_menu.png|}} {{:de:sm_menu.png|}}
 +
 +===== Services =====
 +
 +There are two kinds of services. Normal Services are those which have Start/Stop buttons and load/save configuration files (like SSH or Mediatomb). Generic Services are those which doesn't fit into this schema (e.g. Text-Editor, Encryption).
 +
 +Normal Services are always grouped to a **category**. For example SSH and Telnet are grouped together to the category //net//. Mediatomb uses the category //multimedia//.
 +
 +Generic Services are not grouped and therefore don't use a category.
 +
 +To add new Services visit the following pages:
 +
 +  * [[.:servicemanager:gui_xml]]
 +  * [[.:servicemanager:gui_php]]
 +
 +===== General =====
 +
 +==== Addressing ====
 +
 +(Generic) Services are addressed by a URL fragment identifier. 
 +
 +Normal services require a category. These services are addressed by the concatenation of the keyword 'services_' and the name of the category.
 +
 +The following examples demonstrates the addressing of normal services:
 +<code>http://lg-nas/en/sm/SrvMgr.php#services_net
 +http://lg-nas/en/sm/SrvMgr.php#services_multimedia
 +http://lg-nas/en/sm/SrvMgr.php#services_somethingelse</code>
 +
 +Generic services are addressed by their name. Examples:
 +
 +<code>http://lg-nas/en/sm/SrvMgr.php#editor
 +http://lg-nas/en/sm/SrvMgr.php#dm-crypt</code>
 +
 +==== Names ====
 +
 +The name of a service has to be unique.
 +
 +==== Directory structure ====
 +
 +All XML and PHP files are located at:
 +
 +<code>/var/www/en/sm/services_xml/
 +/var/www/en/sm/services_php/</code>
 +
 +<note important>Firmware-Upgrades will delete these directories to prevent conflicts!</note>
  
 ===== Features ===== ===== Features =====