From e268bbcd4cd7cae5673fef4841dbcfbf630ac6ce Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 13 Jan 2009 23:25:38 +0000 Subject: [PATCH] auto-import manifest git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14453 71c3de6d-444a-0410-be80-ed276b4c234a --- ips/proto.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ips/proto.py b/ips/proto.py index 9d0a75bc65..2cd2691e27 100644 --- a/ips/proto.py +++ b/ips/proto.py @@ -17,7 +17,8 @@ pkg.update({ }) -pkg.addfile("/usr/local/bin/hudson.war",{"file":"./target/hudson.war"}) +# restart_fmri instructs IPS to reload the manifest +pkg.addfile("/usr/local/bin/hudson.war",{"file":"./target/hudson.war","restart_fmri","svc:/system/manifest-import:default"}) pkg.addfile("/var/svc/manifest/application/hudson.xml",{"file":"../ips/hudson.xml"}) # this is the Hudson home directory pkg.mkdirs("/var/lib/hudson")