diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-23 16:45:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-23 16:45:17 +0000 |
commit | b98f2fb9922af9b7a8ec418716d79ee2a4af5b77 (patch) | |
tree | a0f4f617c881a28eb0d52754b15b0a082bb545e1 /systemd/ceph-exporter.service.in | |
parent | Adding debian version 18.2.2-1. (diff) | |
download | ceph-b98f2fb9922af9b7a8ec418716d79ee2a4af5b77.tar.xz ceph-b98f2fb9922af9b7a8ec418716d79ee2a4af5b77.zip |
Merging upstream version 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 |