VictoriaMetrics/package/victoria-metrics.service
Kostya Vasilyev 8c3629a892 Debian packaging (#116)
* 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 .
2019-07-22 17:12:48 +03:00

17 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