Fixes T6944. Attempt to automatically create the log directory for the Aphlict server. If the directory can't be created, throw a helpful exception.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T6944: Try to create the pid directory in Aphlict
- Commits
- Restricted Diffusion Commit
rP1f09e05c683c: Automatically create the Aphlict log directory
- Set notification.log to /var/log/aphlict/aphlict.log.
- Ran ./bin/aphlict debug and saw an exception (because the user doesn't have permissions to create the /var/log/aphlict directory).
- Ran sudo chmod 777 /var/log.
- Ran ./bin/aphlict debug and saw the /var/log/aphlict directory created.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3848 Build 3860: [Placeholder Plan] Wait for 30 Seconds