mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-01 07:35:02 +03:00
Base: Launch SQLServer at session start-up
This commit is contained in:
parent
267a2c7c32
commit
22f8ead2f4
Notes:
sideshowbarker
2024-07-17 08:55:54 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/22f8ead2f4 Pull-request: https://github.com/SerenityOS/serenity/pull/14673 Reviewed-by: https://github.com/linusg
@ -39,14 +39,6 @@ Environment=TERM=xterm
|
||||
KeepAlive=true
|
||||
SystemModes=text
|
||||
|
||||
[SQLServer]
|
||||
Socket=/tmp/portal/sql
|
||||
SocketPermissions=600
|
||||
Priority=low
|
||||
Lazy=true
|
||||
KeepAlive=true
|
||||
User=anon
|
||||
|
||||
[CrashDaemon]
|
||||
KeepAlive=true
|
||||
User=anon
|
||||
|
@ -77,6 +77,13 @@ Lazy=true
|
||||
MultiInstance=true
|
||||
AcceptSocketConnections=true
|
||||
|
||||
[SQLServer]
|
||||
Socket=/tmp/user/%uid/portal/sql
|
||||
SocketPermissions=600
|
||||
Priority=low
|
||||
Lazy=true
|
||||
KeepAlive=true
|
||||
|
||||
[LaunchServer]
|
||||
Socket=/tmp/user/%uid/portal/launch
|
||||
SocketPermissions=600
|
||||
|
@ -16,7 +16,7 @@ namespace SQL {
|
||||
class SQLClient
|
||||
: public IPC::ConnectionToServer<SQLClientEndpoint, SQLServerEndpoint>
|
||||
, public SQLClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql"sv)
|
||||
IPC_CLIENT_CONNECTION(SQLClient, "/tmp/user/%uid/portal/sql"sv)
|
||||
virtual ~SQLClient() = default;
|
||||
|
||||
Function<void(int, String const&)> on_connected;
|
||||
|
Loading…
Reference in New Issue
Block a user