chiark / gitweb /
tests: determine rootlibdir from pkg-config
[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 User=systemd-journal-gateway
15 Group=systemd-journal-gateway
16 SupplementaryGroups=systemd-journal
17 PrivateTmp=yes
18 PrivateDevices=yes
19 PrivateNetwork=yes
20 ProtectSystem=full
21 ProtectHome=yes
22
23 # If there are many split upjournal files we need a lot of fds to
24 # access them all and combine
25 LimitNOFILE=16384
26
27 [Install]
28 Also=systemd-journal-gatewayd.socket