Commit Graph

7 Commits

Author SHA1 Message Date
kohsuke 052ff6c211 Moved from /usr/local/bin to /usr/share/hudson as per the comment on my blog:
See http://weblogs.java.net/blog/kohsuke/archive/2008/06/debian_packages.html

======
According to the FHS (http://www.pathname.com/fhs/), you must not put the hudson.war into the /usr/local/bin directory. It is reserved for local administrators. According to the FHS you should place it into the /usr/share/hudsor/hudson.war (because it is architecture-independent file).



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11429 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 18:28:49 +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 36c60b320b rolling back my 9366 to bring Stephen's slave related changes to the main line
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9381 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-18 17:07:24 +00:00
kohsuke d618dcbd76 Rolling back 9328,9331,9352-9354 as I still wanted to make some adjustments to them
before they are merged into the main line.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9366 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-17 17:54:45 +00:00
kohsuke 4c2fec0dd9 removed unused flag
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8865 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-26 06:05:05 +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