]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journal-gatewayd.service.in
tests: add UNIFIED_CGROUP_HIERARCHY=[default|hybrid] (#4675)
[thirdparty/systemd.git] / units / systemd-journal-gatewayd.service.in
CommitLineData
7b17a7d7
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Journal Gateway Service
c9d49328 10Documentation=man:systemd-journal-gatewayd(8)
7b17a7d7
LP
11Requires=systemd-journal-gatewayd.socket
12
13[Service]
14ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
37495eed
LP
15User=systemd-journal-gateway
16Group=systemd-journal-gateway
17SupplementaryGroups=systemd-journal
f21a71a9
LP
18PrivateTmp=yes
19PrivateDevices=yes
20PrivateNetwork=yes
1b8689f9
LP
21ProtectSystem=full
22ProtectHome=yes
0c28d51a
LP
23ProtectControlGroups=yes
24ProtectKernelTunables=yes
25MemoryDenyWriteExecute=yes
26RestrictRealtime=yes
27RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
7b17a7d7 28
de45d726
LP
29# If there are many split upjournal files we need a lot of fds to
30# access them all and combine
31LimitNOFILE=16384
32
7b17a7d7
LP
33[Install]
34Also=systemd-journal-gatewayd.socket