We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f79435 commit 0feb94cCopy full SHA for 0feb94c
debian/ipt.postinst
@@ -31,7 +31,7 @@ fi
31
32
IPT_XML="/etc/tomcat9/Catalina/localhost/ipt.xml"
33
34
-chown $TOMCAT_USER:$TOMCAT_GROUP /usr/share/ipt/ipt.war
+# chown $TOMCAT_USER:$TOMCAT_GROUP /usr/share/ipt/ipt.war
35
chown $TOMCAT_USER:$TOMCAT_GROUP "$IPT_XML"
36
37
# Store the value in debconf
@@ -70,6 +70,9 @@ while [ "$(systemctl is-active tomcat9)" != "active" ]; do
70
fi
71
done
72
73
+# Allow ipt to start
74
+sleep 3
75
+
76
# Create or update the configuration file with the directory
77
CONFIG_FILE="/var/lib/tomcat9/webapps/ipt/WEB-INF/datadir.location"
78
0 commit comments