diff --git a/debian/ipt.postinst b/debian/ipt.postinst index 8f33436fdc..bd6c11b389 100644 --- a/debian/ipt.postinst +++ b/debian/ipt.postinst @@ -31,7 +31,7 @@ fi IPT_XML="/etc/tomcat9/Catalina/localhost/ipt.xml" -chown $TOMCAT_USER:$TOMCAT_GROUP /usr/share/ipt/ipt.war +# chown $TOMCAT_USER:$TOMCAT_GROUP /usr/share/ipt/ipt.war chown $TOMCAT_USER:$TOMCAT_GROUP "$IPT_XML" # Store the value in debconf @@ -70,6 +70,9 @@ while [ "$(systemctl is-active tomcat9)" != "active" ]; do fi done +# Allow ipt to start +sleep 3 + # Create or update the configuration file with the directory CONFIG_FILE="/var/lib/tomcat9/webapps/ipt/WEB-INF/datadir.location"