mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
systemd service is working on debian jessie
This commit is contained in:
parent
8ee7d5c2d5
commit
c47f4bc97c
@ -5,13 +5,14 @@ Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/grafana
|
||||
EnvironmentFile=/etc/default/grafana-server
|
||||
User=grafana
|
||||
Group=grafana
|
||||
Type=simple
|
||||
WorkingDirectory=/usr/share/grafana
|
||||
ExecStart=/usr/sbin/grafana-server \
|
||||
--config=${CONF_FILE} \
|
||||
cfg:default.paths.data=${LOG_DIR} \
|
||||
cfg:default.paths.logs=${LOG_DIR} \
|
||||
cfg:default.paths.data=${DATA_DIR} \
|
||||
LimitNOFILE=10000
|
||||
TimeoutStopSec=20
|
||||
|
Loading…
Reference in New Issue
Block a user