1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/aphlict/management
Joshua Spence 1f09e05c68 Automatically create the Aphlict log directory
Summary: Fixes T6944. Attempt to automatically create the log directory for the Aphlict server. If the directory can't be created, throw a helpful exception.

Test Plan:
# 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.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T6944

Differential Revision: https://secure.phabricator.com/D11387
2015-01-15 06:54:55 +11:00
..
PhabricatorAphlictManagementDebugWorkflow.php Allow the Aphlict server to bind to localhost 2015-01-09 11:10:47 +11:00
PhabricatorAphlictManagementRestartWorkflow.php Allow the Aphlict server to bind to localhost 2015-01-09 11:10:47 +11:00
PhabricatorAphlictManagementStartWorkflow.php Allow the Aphlict server to bind to localhost 2015-01-09 11:10:47 +11:00
PhabricatorAphlictManagementStatusWorkflow.php Make ./bin/aphlict behave more like a service. 2014-06-05 12:13:45 -07:00
PhabricatorAphlictManagementStopWorkflow.php Make ./bin/aphlict behave more like a service. 2014-06-05 12:13:45 -07:00
PhabricatorAphlictManagementWorkflow.php Automatically create the Aphlict log directory 2015-01-15 06:54:55 +11:00