chiark / gitweb /
f15a37f9d1750b6addb17fd4ed12feffcbfdcb33
[elogind.git] / units / systemd-journal-gatewayd.service.in
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]
9 Description=Journal Gateway Service
10 Requires=systemd-journal-gatewayd.socket
11
12 [Service]
13 ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
14 SecureBits=noroot noroot-locked
15 User=systemd-journal-gateway
16 Group=systemd-journal-gateway
17 SupplementaryGroups=systemd-journal
18 PrivateTmp=yes
19 PrivateDevices=yes
20 PrivateNetwork=yes
21 ProtectSystem=full
22 ProtectHome=yes
23
24 # If there are many split upjournal files we need a lot of fds to
25 # access them all and combine
26 LimitNOFILE=16384
27
28 [Install]
29 Also=systemd-journal-gatewayd.socket