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")