Commit Graph

9 Commits

Author SHA1 Message Date
redsolo c7ae52f882 [FIXED HUDSON-3530] Put the argument for HUDSON_ARGS within quotation marks
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17326 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 08:10:15 +00:00
kohsuke 2c676b1f16 Debian package now has the <tt>RUN_STANDALONE</tt> switch to control if hudson should be run as a daemon.
(<a href="http://www.nabble.com/Debian-repo-tt21467102.html">report</a>)



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14497 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 23:08:40 +00:00
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
kohsuke becc55b245 after looking at http://d.hatena.ne.jp/manabou/20080726 I realized why it needs to be /var/run/hudson/hudson.pid
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11026 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 00:39:09 +00:00
kohsuke 059c18687b [FIXED HUDSON-2090] pid file should be under /var/run. Fixed in 1.237
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10886 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 17:04:08 +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 489fab3e89 Integrated the scripts contributed by Amelia Lwis <alewis@tibco.com>
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9346 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 21:36:31 +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