File prometheus-apache_exporter.service of Package golang-github-lusitaniae-apache_exporter
[Unit] Description=Prometheus exporter for Apache metrics Documentation=https://github.com/lusitaniae/apache_exporter [Service] Restart=always User=prometheus EnvironmentFile=-/etc/sysconfig/prometheus-apache_exporter ExecStart=/usr/bin/prometheus-apache_exporter $ARGS ExecReload=/bin/kill -HUP $MAINPID TimeoutStopSec=20s SendSIGKILL=no # various hardening options CapabilityBoundingSet= AmbientCapabilities= StandardInput=null UMask=0077 PrivateUsers=yes PrivateTmp=yes PrivateDevices=yes ProtectSystem=strict ProtectProc=invisible ProtectHome=yes ProtectKernelModules=yes ProtectKernelTunables=yes ProtectKernelLogs=yes ProtectControlGroups=yes ProtectHostname=yes ProtectClock=yes NoNewPrivileges=yes MountFlags=private LockPersonality=yes KeyringMode=private RestrictRealtime=yes RestrictNamespaces=yes RestrictSUIDSGID=yes DevicePolicy=closed PrivateIPC=yes RemoveIPC=yes MemoryDenyWriteExecute=yes ProcSubset=pid RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX SystemCallArchitectures=native SystemCallFilter=~ @clock @cpu-emulation @debug @keyring @module @mount @raw-io @reboot @swap @obsolete splice @resources @chown @privileged @pkey @setuid @timer [Install] WantedBy=multi-user.target