29 lines
625 B
Desktop File
29 lines
625 B
Desktop File
[Unit]
|
|
Description=LisgloSIPS Redis Exporter
|
|
After=redis-server.service
|
|
Requires=redis-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=redis-exporter
|
|
Group=redis-exporter
|
|
EnvironmentFile=/etc/lisglosips/secrets/redis-exporter.env
|
|
ExecStart=/usr/local/bin/redis_exporter
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
LockPersonality=true
|
|
CapabilityBoundingSet=
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|