lyon-esport / AdminAFK-registration

The goal of this project is to accept/refuse/ignore registration who meets requirements on a tournament managed by Toornament.
Other
4 stars 1 forks source link

Set user to www-data to run database setup. #3

Closed eoswald closed 4 years ago

eoswald commented 4 years ago

Currently the database setup is run as root. This causes an error when Apache tries to write to the database as www-data. This change sets the user to www-data to setup the database and back to root to start the Apache service.

Alternatively you could chown or chmod the .sqlite file after running the setup. Up to you.

M0NsTeRRR commented 4 years ago

Merged, thanks :)

eoswald commented 4 years ago

@M0NsTeRRR I think you may have accidentally closed this instead of merging it :)

M0NsTeRRR commented 4 years ago

Nobody saw 😂, don't know what to say ahah, thanks.