mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
23 lines
715 B
Desktop File
23 lines
715 B
Desktop File
[Unit]
|
|
Description=Starts and stops a single grafana instance on this system
|
|
Documentation=http://docs.grafana.org
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/default/grafana-server
|
|
User=grafana
|
|
Group=grafana
|
|
Type=simple
|
|
WorkingDirectory=/usr/share/grafana
|
|
ExecStart=/usr/sbin/grafana-server \
|
|
--config=${CONF_FILE} \
|
|
--pidfile=${PID_FILE} \
|
|
cfg:default.paths.logs=${LOG_DIR} \
|
|
cfg:default.paths.data=${DATA_DIR} \
|
|
LimitNOFILE=10000
|
|
TimeoutStopSec=20
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|