blob: f4f6d05c4b4d47b171a4aa40cc33e5be7a54359c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
|