Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nbits
Puppet
puppet-modules
Commits
8b5fe46b
Commit
8b5fe46b
authored
Sep 06, 2021
by
drebs
Browse files
Fix: run graphite-web as user _graphite
There's no reason to run graphite-web with root privileges.
parent
82e7ec84
Changes
1
Hide whitespace changes
Inline
Side-by-side
profile/files/monitoring/graphite-web.service
View file @
8b5fe46b
...
@@ -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 127.0.0.1:8080
ExecStart
=
/usr/bin/gunicorn3 wsgi --pythonpath=/usr/lib/python3/dist-packages/graphite --bind 127.0.0.1:8080
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
...
...
drebs
@drebs
mentioned in commit
2130b0c7
·
Sep 06, 2021
mentioned in commit
2130b0c7
mentioned in commit 2130b0c75283678a36b55118a4e4dc5cdda27883
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment