mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
add dedicated log dir for raspisms
This commit is contained in:
parent
ca9397b62d
commit
1be127e260
7 changed files with 26 additions and 8 deletions
|
@ -34,7 +34,7 @@ class Webhook extends AbstractDaemon
|
|||
{
|
||||
$name = 'RaspiSMS Daemon Webhook';
|
||||
$logger = new Logger($name);
|
||||
$logger->pushHandler(new StreamHandler(PWD_LOGS . '/raspisms.log', Logger::DEBUG));
|
||||
$logger->pushHandler(new StreamHandler(PWD_LOGS . '/daemons.log', Logger::DEBUG));
|
||||
$pid_dir = PWD_PID;
|
||||
$no_parent = false; //Sended should be rattach to manager, so manager can stop him easily
|
||||
$additional_signals = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue