Commit Graph

4 Commits

Author SHA1 Message Date
kohsuke 482e7d1da4 Debian package now depends on <tt>java2-runtime-headless</tt> instead of <tt>java2-runtime</tt>
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20198 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-27 21:18:36 +00:00
basil3whitehouse 3f75aaef77 [FIXED HUDSON-1959] Debian packaging improvements.
Changes to runtime:
- Run daemon as hudson user instead of root.
- Use /var/run/hudson/war as the webroot for expanded war file since the user home system property value isn't appropriate (the hudson default).
- Use /var/log/hudson as the logging location since rotating logs may be used in the future.
- Use default JVM memory configuration rather than increasing with extra JVM arguments.  Administrators can increase as necessary.

Changes to debhelper build directives:
- Create necessary directories using dirs.
- Move 'upstream' generated war file using install.
- On installation create hudson user and apply required ownership and permissions using postinst.
- On removal remove hudson user using postrm.

Changes to debian control file:
- Add required dependency on Java runtime as per Debian Java policy.
- Move URL to Homepage section as per Debian policy guidelines.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10417 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-25 19:04:57 +00:00
kohsuke 6ad22bb22f Got to the point that it works
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9622 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-24 23:23:38 +00:00
kohsuke a95f3fe974 I played with debian packaging a bit
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8859 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-25 15:46:28 +00:00