Commit Graph

21 Commits

Author SHA1 Message Date
MichaIng
a40f95e8a6
Packaging: Start Grafana service after InfluxDB (#64090)
as done with other database services, supported as Grafana data sources.

Signed-off-by: MichaIng <micha@dietpi.com>
2023-03-08 12:47:11 -05:00
Dan Cech
de99ce139c
Server: Switch from separate server & cli to a unified grafana binary (#58286)
* avoid the need for a second bulky binary for grafana-cli

* look for grafana-server in $PATH as well as same directory

* implement unified "grafana" command

* update dockerfiles, fix grafana-cli -v

* update packaging to work with single binary

- add wrapper scripts for grafana and grafana-server
- update and sync package files
- implement --sign flag of build package command
- stop packaging scripts folder, they are not useful for end users
- add support for --configOverrides in server command
- remove unused nfpm.yaml config file

* windows support
2022-11-22 11:53:43 -05:00
Kevin Minehart
ca4b35e596
Packaging: remove private users setting in systemd unit files (#40815)
* Remove privateusers=true from grafana-server.service
2021-10-22 16:19:55 +02:00
Kevin Minehart
fe5e49476b
Packaging: Remove ProcSubset option in systemd (#40339)
* update rpm service file

* Update grafana-server.service
2021-10-12 11:18:49 -05:00
Kevin Minehart
cdea812cee
remove systemcallfilters sections from systemd unit files (#40176) 2021-10-08 15:50:59 +02:00
erdnaxe
5f521bd9ae
packaging: systemd unit hardening (#38109) 2021-09-02 07:36:35 -05:00
Leonard Gram
2e8c4699b0 build: internal metrics for packaging. 2018-11-15 14:42:09 +01:00
bergquist
2e610cb256 dashboards as cfg: move dash/ds config files to /provisioning/* 2017-12-07 15:27:01 +01:00
bergquist
361acd3fa1 dashboards as cfg: include cfg files in dist packages 2017-12-07 15:27:01 +01:00
Torkel Ödegaard
5d3c3a6889 packaging: changed how pid directory is created for systemd systems, #9133 2017-09-04 16:41:07 +02:00
Torkel Ödegaard
c3cffeb10c packaging: fixed issue with pid file on systemd systems, fixes #9133 2017-09-04 10:43:04 +02:00
Tobias Wolf
68e6700663 Add an After= DB ordering relation to systemd .service (#7903)
In systemd `After=` merely codes an ordering relation and does not start
other units.

Grafana needs to specify that it wants to start up _after_ either of the
supported DB services have started, _if they start_.

Enabling the database services, however, is out of scope for Grafana.
2017-03-22 16:49:35 +01:00
Christopher Meng
6afb456bef Update systemd unit's description to be more understandable
Signed-off-by: Christopher Meng <i@cicku.me>
2016-09-06 16:29:15 +02:00
Torkel Ödegaard
cdd341af64 feat(packaging): added Restart=on-failure to systemd service spec file 2016-01-13 13:57:22 +01:00
Torkel Ödegaard
f83d5f4280 cleanup(influxdb_08): removed influxdb 0.8 data source as an built in official data source, moved it to an external plugin repo, https://github.com/grafana/datasource-plugin-influxdb-08, closes #3523 2015-12-15 11:21:00 +01:00
Mathieu Parent
4ec6691ea9 Fix LimitNOFILE in Debian systemd unit 2015-10-23 15:12:52 +02:00
Denis Doria
9e21a089d2 Fixing permission issues for new installations
The umask as 0027 will generates permissions like:
0640 - for files
0750 - for directories

This should solve the grafana.db being accesable by any user for new installations.
2015-08-16 18:43:27 +02:00
Torkel Ödegaard
5302d3bb31 Added pidfile arg to systemd service spec, fixes #2360 2015-08-04 15:44:07 +02:00
Torkel Ödegaard
c47f4bc97c systemd service is working on debian jessie 2015-04-10 11:26:03 +02:00
Torkel Ödegaard
2020fedfdb Fixed issue with overriding default config values via command line 2015-04-10 10:58:32 +02:00
Torkel Ödegaard
4c6d7630cd more work on refining config loading, and packaging 2015-04-09 17:18:04 +02:00