Commit 5302d3bb by Torkel Ödegaard

Added pidfile arg to systemd service spec, fixes #2360

parent 775a8059
...@@ -12,6 +12,7 @@ Type=simple ...@@ -12,6 +12,7 @@ Type=simple
WorkingDirectory=/usr/share/grafana WorkingDirectory=/usr/share/grafana
ExecStart=/usr/sbin/grafana-server \ ExecStart=/usr/sbin/grafana-server \
--config=${CONF_FILE} \ --config=${CONF_FILE} \
--pidfile=${PID_FILE} \
cfg:default.paths.logs=${LOG_DIR} \ cfg:default.paths.logs=${LOG_DIR} \
cfg:default.paths.data=${DATA_DIR} \ cfg:default.paths.data=${DATA_DIR} \
LimitNOFILE=10000 LimitNOFILE=10000
......
...@@ -12,6 +12,7 @@ Type=simple ...@@ -12,6 +12,7 @@ Type=simple
WorkingDirectory=/usr/share/grafana WorkingDirectory=/usr/share/grafana
ExecStart=/usr/sbin/grafana-server \ ExecStart=/usr/sbin/grafana-server \
--config=${CONF_FILE} \ --config=${CONF_FILE} \
--pidfile=${PID_FILE} \
cfg:default.paths.logs=${LOG_DIR} \ cfg:default.paths.logs=${LOG_DIR} \
cfg:default.paths.data=${DATA_DIR} \ cfg:default.paths.data=${DATA_DIR} \
LimitNOFILE=10000 LimitNOFILE=10000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment