grafana/packaging/deb/systemd/grafana-server.service

22 lines
647 B
SYSTEMD
Raw Normal View History

[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
2015-04-08 09:58:05 -05:00
User=grafana
Group=grafana
Type=simple
WorkingDirectory=/usr/share/grafana
ExecStart=/usr/sbin/grafana-server \
--config=${CONF_FILE} \
cfg:default.paths.logs=${LOG_DIR} \
cfg:default.paths.data=${DATA_DIR} \
2015-04-08 09:58:05 -05:00
LimitNOFILE=10000
TimeoutStopSec=20
[Install]
WantedBy=multi-user.target