Commit 8b5fe46b authored by drebs's avatar drebs
Browse files

Fix: run graphite-web as user _graphite

There's no reason to run graphite-web with root privileges.
parent 82e7ec84
...@@ -6,8 +6,8 @@ Requires=graphite-web.socket ...@@ -6,8 +6,8 @@ Requires=graphite-web.socket
[Service] [Service]
ExecStart=/usr/bin/gunicorn3 wsgi --pythonpath=/usr/lib/python3/dist-packages/graphite --bind ExecStart=/usr/bin/gunicorn3 wsgi --pythonpath=/usr/lib/python3/dist-packages/graphite --bind
Restart=on-failure Restart=on-failure
#User=graphite User=graphite
#Group=graphite Group=graphite
ExecReload=/bin/kill -s HUP $MAINPID ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true PrivateTmp=true
Supports Markdown
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