diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-23 16:45:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-23 16:45:13 +0000 |
commit | 389020e14594e4894e28d1eb9103c210b142509e (patch) | |
tree | 2ba734cdd7a243f46dda7c3d0cc88c2293d9699f /systemd/ceph-exporter.service.in | |
parent | Adding upstream version 18.2.2. (diff) | |
download | ceph-389020e14594e4894e28d1eb9103c210b142509e.tar.xz ceph-389020e14594e4894e28d1eb9103c210b142509e.zip |
Adding upstream version 18.2.3.upstream/18.2.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'systemd/ceph-exporter.service.in')
-rw-r--r-- | systemd/ceph-exporter.service.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/systemd/ceph-exporter.service.in b/systemd/ceph-exporter.service.in new file mode 100644 index 000000000..f4f6d05c4 --- /dev/null +++ b/systemd/ceph-exporter.service.in @@ -0,0 +1,29 @@ +[Unit] +Description=Ceph cluster exporter daemon +PartOf=ceph.target +After=network-online.target local-fs.target +Before=ceph.target +Wants=network-online.target local-fs.target ceph.target ceph-mon.target + +[Service] +ExecReload=/bin/kill -HUP $MAINPID +ExecStart=/usr/bin/ceph-exporter -f --id %i --setuser ceph --setgroup ceph +LockPersonality=true +NoNewPrivileges=true +PrivateDevices=yes +PrivateTmp=true +ProtectControlGroups=true +ProtectHome=true +ProtectHostname=true +ProtectKernelLogs=true +ProtectKernelModules=true +ProtectKernelTunables=true +ProtectSystem=full +Restart=on-failure +RestartSec=10 +RestrictSUIDSGID=true +StartLimitBurst=3 +StartLimitInterval=30min + +[Install] +WantedBy=multi-user.target ceph.target |