mycozycloud/cozy-controller — pull request #24 by poupotte (2013-05-15 09:51:31+00:00)
Title: Application authentification

**Store a token for each application in tokenFile.**
Token file has a 700 permission for cozy-.
Token is changed each start of application.

**Directories which contain pid files and token files can be configured :**
Configure tokens directory :

cozy-controller --tokensDir '/etc/tokens'
'/etc/cozy/tokens' by default

Configure pids directory :

cozy-controller --pidsDir '/etc/pids' to change pids directory
'/etc/cozy/pids' by default