I got a python daemon running on my raspberry pi (as user pi), and I want to change its settings - which are saved in json files - via php.
It occurred to me, that I would have to either:
None of these really feels 'right'...
What would be the best/a good practice to do this? (or is this way of interaction "wrong"? )