34 lines
696 B
Desktop File
34 lines
696 B
Desktop File
[Unit]
|
|
Description=LisgloSIPS Prometheus
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=prometheus
|
|
Group=prometheus
|
|
EnvironmentFile=/etc/default/lisglosips-prometheus
|
|
ExecStart=/usr/bin/prometheus $ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
TimeoutStopSec=30s
|
|
UMask=0027
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
LockPersonality=true
|
|
CapabilityBoundingSet=
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
ReadWritePaths=/data/prometheus
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|