On 1/27/2015 12:35 AM, Fraser Tweedale wrote:
Actually with patch #531-3 and #545 the webapp auto deploy will be activated, so enabling/disabling subsystem should take effect in a few seconds automatically, no restart is needed. When auto deploy is enabled, Tomcat will monitor the <instance>/conf/Catalina/localhost folder to see if a webapp deployment descriptor is added or deleted, then it will deploy/undeploy the webapp accordingly.
Ah, I did not run the upgrade script. ACK if tested.
Thanks. I tested it with IPA too. Pushed to master.
The code is at least initially written for Fedora. I'm not sure if it will work on Debian/Ubuntu, perhaps someone familiar with it could help. If there's a reliable way to detect the distribution we probably can generate the proper command for each distribution.
I believe systemd is headed to Debian 8 and a future Ubuntu release but it's not there yet. The suggested change should be simple so I don't think it should block this patch in its current form. Hopefully it does not exasperate Timo too much.
It's only a problem if you use the new pki-server instance-start/stop command on Debian/Ubuntu. We can always use the distribution-specific command to start/stop the instance. -- Endi S. Dewata