Skip to content

Commit 85e079d

Browse files
authored
Update swoole.local.php.dist
1 parent 30d7145 commit 85e079d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

config/autoload/swoole.local.php.dist

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ return [
1515
'protocol' => SWOOLE_SOCK_TCP, // SWOOLE_SSL, // SSL-enable the server
1616
'options' => [
1717
// Set the SSL certificate and key paths for SSL support:
18-
'ssl_cert_file' => 'path/to/ssl.crt',
19-
'ssl_key_file' => 'path/to/ssl.key',
18+
//'ssl_cert_file' => 'path/to/ssl.crt',
19+
//'ssl_key_file' => 'path/to/ssl.key',
2020
// Whether or not the HTTP server should use coroutines;
2121
// enabled by default, and generally should not be disabled:
2222
'package_eof' => "\n",
2323
'open_eof_check' => true,
2424
'open_length_check' => true,
2525

26+
// in order to run swoole as daemon
27+
'daemonize' => true,
2628

2729
// Overwrite the default location of the pid file;
2830
// required when you want to run multiple instances of your service in different ports:
@@ -35,4 +37,4 @@ return [
3537
'process-name' => 'dotkernel-queue',
3638
],
3739
],
38-
];
40+
];

0 commit comments

Comments
 (0)