Difference between revisions of "Talk:Web application package guidelines"

From ArchWiki
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[User:Fukawi2|Fukawi2]] ([[User talk:Fukawi2|talk]]) 01:28, 27 July 2012 (UTC)
+
== Change file system layout ==
  
"/var and /etc/ files and/or directories should be symlinked into /usr/share/webapps/$pkgname."
+
If you got more than one instance of a particular webapp running on your machine the configuration files and variable data files will conflict.
 
+
We should consider the Gentoo approach:
This should be the other way around IMHO; configuration should live in /etc and /usr should be read-only.
+
* Install a webapp to /usr/share/webapps/$pkgname or /usr/lib/webapps/$pkgname
 +
* Use a tool like [http://www.gentoo.org/proj/en/webapps/webapp-config.xml webapp-config] to clone instances.
 +
[[User:Mmh|Mmh]] ([[User talk:Mmh|talk]]) 18:44, 6 August 2013 (UTC)

Latest revision as of 17:01, 6 November 2014

Change file system layout

If you got more than one instance of a particular webapp running on your machine the configuration files and variable data files will conflict. We should consider the Gentoo approach:

  • Install a webapp to /usr/share/webapps/$pkgname or /usr/lib/webapps/$pkgname
  • Use a tool like webapp-config to clone instances.

Mmh (talk) 18:44, 6 August 2013 (UTC)