On my server, I have two users, www-data (which is used by nginx) and git . The git user owns the repository containing the code for my site, and the www-data user owns a clone of this repository (which serves as the website for nginx). I want to configure the workflow in such a way that clicking on the git repository causes the www-data repository to update, thereby updating my website.
What is the correct way to configure sniffers for these repositories (which also takes into account the privileges and permissions of these two users)?
Chetan
source share