mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
94c4153a95
Remove dependency services not used by cc-metric-collector
23 lines
539 B
Desktop File
23 lines
539 B
Desktop File
[Unit]
|
|
Description=ClusterCockpit metric collector
|
|
Documentation=https://github.com/ClusterCockpit/cc-metric-collector
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/default/cc-metric-collector
|
|
User=clustercockpit
|
|
Group=clustercockpit
|
|
Type=simple
|
|
Restart=on-failure
|
|
WorkingDirectory=/tmp
|
|
RuntimeDirectory=cc-metric-collector
|
|
RuntimeDirectoryMode=0750
|
|
ExecStart=/usr/sbin/cc-metric-collector --config=${CONF_FILE}
|
|
LimitNOFILE=10000
|
|
TimeoutStopSec=20
|
|
UMask=0027
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|