Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run amon as root during installation #1

Open
bascht opened this issue Jan 12, 2017 · 1 comment
Open

Don't run amon as root during installation #1

bascht opened this issue Jan 12, 2017 · 1 comment

Comments

@bascht
Copy link

bascht commented Jan 12, 2017

(I hope it's okay if I grab issue #1 ;-) Congrats to open sourcing Amon! Very much looking forward to it!)

The install docs aren't totally clear which user the installation should be run as. I suggest switching to the amon user right after chowning the folders.

Otherwise this command

# To test if Amon is configured properly
python manage.py runserver

will create files as root in /opt/amon and the regular systemd installation won't come up. :)

@martinrusev
Copy link
Member

martinrusev commented Jan 12, 2017

@bascht Yep. Running with su - amon -c "python manage.py runserver" or something similar will be a much better solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants