2021-05-29 14:11:44 +02:00
|
|
|
[Unit]
|
|
|
|
Description=ClusterCockpit metric collector
|
|
|
|
Documentation=https://github.com/ClusterCockpit/cc-metric-collector
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
After=postgresql.service mariadb.service mysql.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=/etc/default/cc-metric-collector
|
|
|
|
User=clustercockpit
|
|
|
|
Group=clustercockpit
|
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
|
|
|
WorkingDirectory=/tmp
|
|
|
|
RuntimeDirectory=cc-metric-collector
|
|
|
|
RuntimeDirectoryMode=0750
|
2022-02-07 13:53:51 +01:00
|
|
|
ExecStart=/usr/sbin/cc-metric-collector --config=${CONF_FILE}
|
2021-05-29 14:11:44 +02:00
|
|
|
LimitNOFILE=10000
|
|
|
|
TimeoutStopSec=20
|
|
|
|
UMask=0027
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|