File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,22 @@ DATADIR_LOCATION_CONF=/var/lib/tomcat9/webapps/ipt/WEB-INF/datadir.location
34
34
if ! [ -f $DATADIR_LOCATION_CONF ] ; then
35
35
# ipt is not yet configured, suggest datadir location
36
36
echo You can use /var/lib/ipt as datadir.location
37
+ echo " Tomcat is sandboxed by systemd and only has write access to some
38
+ directories (see /usr/share/doc/tomcat9/README.Debian):
39
+
40
+ To give access to your IPT data directory settings have to be overridden.
41
+
42
+ This is done by creating an override.conf file in
43
+ /etc/systemd/system/tomcat9.service.d/ containing:
44
+
45
+ [Service]
46
+ ReadWritePaths=/path/to/the/ipt-data-directory/
47
+
48
+ The service has to be restarted afterward with:
49
+
50
+ systemctl daemon-reload
51
+ systemctl restart tomcat9
52
+
53
+ "
54
+
37
55
fi
You can’t perform that action at this time.
0 commit comments