File: README.Debian

package info (click to toggle)
jetty12 12.0.32-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 87,736 kB
  • sloc: java: 734,480; xml: 58,950; javascript: 1,041; sh: 874; jsp: 391; sql: 40; makefile: 9
file content (42 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Jetty for Debian
----------------

This debian package installs Jetty 12 into /usr/share/jetty12
and other directories under /var and /etc, which are linked to
from the /usr/share/jetty12 directory.

The configuration of the server is in /etc/jetty12. The configuration
files listed in /etc/jetty12/jetty.conf are passed to the command
line of Jetty when it is started by /lib/systemd/system/jetty12.service.

Webapps can be deployed by placing the .war or .xml configuration file
in /var/lib/jetty12/webapps (linked from /usr/share/jetty12/webapps)

Installing:

$ sudo apt install jetty12

Use the facilities of your init system to start and stop jetty12, e.g. with
systemd:

$ sudo systemctl start jetty12

$ sudo systemctl stop jetty12


Jetty is sandboxed by systemd and only has write access to the following
directories:
    - /var/lib/jetty12/
    - /var/log/jetty12/

If write access to other directories is required the service settings
have to be overridden. This is done by creating an override.conf file
in /etc/systemd/system/jetty12.service.d/ containing:

      [Service]
      ReadWritePaths=/path/to/the/directory/

The service has to be restarted afterward with:

      systemctl daemon-reload
      systemctl restart jetty12