mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
8c3629a892
* initial commit of deb packaging * Incorporated feedback from @valyala: - Put data directory under /var/lib - More beef in systemd file - Packaging for arm64 - Package all target which builds and packages both amd64 and arm64 * Remove PIDFile from systemd unit, useless * per PR feedback, move debian specific files into deb subdirectory Updates #107 .
16 lines
402 B
Desktop File
16 lines
402 B
Desktop File
[Unit]
|
|
Description=VictoriaMetrics is a fast, cost-effective and scalable time series database.
|
|
|
|
[Service]
|
|
Type=simple
|
|
StartLimitBurst=5
|
|
StartLimitInterval=0
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
ExecStart=/usr/sbin/victoria-metrics -storageDataPath /var/lib/victoria-metrics -retentionPeriod 12
|
|
ExecStop=/bin/kill -s SIGTERM $MAINPID
|
|
LimitNOFILE=32000
|
|
LimitNPROC=32000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|