Initial commit
This commit is contained in:
commit
83f8a1b694
6 changed files with 156 additions and 0 deletions
33
files/prometheus-ruckus-exporter.service
Normal file
33
files/prometheus-ruckus-exporter.service
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[Unit]
|
||||
Description=Prometheus exporter for Ruckus Unleashed Wifi metrics
|
||||
Requires=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
DynamicUser=yes
|
||||
User=prometheus-ruckus-exporter
|
||||
Restart=on-failure
|
||||
EnvironmentFile=-/etc/default/prometheus-ruckus-exporter
|
||||
ExecStart=/usr/local/sbin/prometheus-ruckus-exporter
|
||||
|
||||
LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=yes
|
||||
PrivateTmp=disconnected
|
||||
PrivateUsers=yes
|
||||
ProcSubset=pid
|
||||
ProtectClock=yes
|
||||
ProtectControlGroups=strict
|
||||
ProtectHome=yes
|
||||
ProtectHostname=yes
|
||||
ProtectKernelLogs=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectProc=invisible
|
||||
ProtectSystem=strict
|
||||
RestrictNamespaces=yes
|
||||
RestrictRealtime=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue