mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
bdcd0abf9d
ConfigServer is an IPC service that provides access to application configuration and settings. The idea is to replace all uses of Core::ConfigFile with IPC requests to ConfigServer. This first cut of the API is pretty similar to Core::ConfigFile. The old: auto config = Core::ConfigFile::open_for_app("App"); auto value = config->read_entry("Group", "Key"); The new: auto value = Config::read_string("App", "Group", "Key"); ConfigServer uses the ~/.config directory as its backing store and all the files remain human-editable. :^)
205 lines
3.3 KiB
INI
205 lines
3.3 KiB
INI
[ConfigServer]
|
|
Socket=/tmp/portal/config
|
|
SocketPermissions=600
|
|
User=anon
|
|
|
|
[RequestServer]
|
|
Socket=/tmp/portal/request
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
Priority=low
|
|
User=anon
|
|
BootModes=text,graphical,self-test
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[FileSystemAccessServer]
|
|
Socket=/tmp/portal/filesystemaccess
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
User=anon
|
|
BootModes=text,graphical,self-test
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[WebContent]
|
|
Socket=/tmp/portal/webcontent
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
BootModes=graphical
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[ImageDecoder]
|
|
Socket=/tmp/portal/image
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
BootModes=graphical
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[WebSocket]
|
|
Socket=/tmp/portal/websocket
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
Priority=low
|
|
User=anon
|
|
BootModes=text,graphical,self-test
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[LookupServer]
|
|
Socket=/tmp/portal/lookup
|
|
SocketPermissions=660
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=lookup
|
|
BootModes=text,graphical,self-test
|
|
|
|
[DHCPClient]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=root
|
|
BootModes=text,graphical,self-test
|
|
|
|
[NotificationServer]
|
|
Socket=/tmp/portal/notify
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[LaunchServer]
|
|
Socket=/tmp/portal/launch
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
BootModes=text,graphical
|
|
|
|
[WindowServer]
|
|
Socket=/tmp/portal/window,/tmp/portal/wm
|
|
SocketPermissions=660
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=window
|
|
|
|
[InspectorServer]
|
|
Socket=/tmp/portal/inspector,/tmp/portal/inspectables
|
|
SocketPermissions=600,666
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Clipboard]
|
|
Socket=/tmp/portal/clipboard
|
|
SocketPermissions=600
|
|
Priority=low
|
|
User=anon
|
|
|
|
[DesktopPicker.Applet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[ResourceGraph.Applet]
|
|
Arguments=--cpu=CPUGraph,#00bb00 --memory=MemoryGraph,#00bbbb
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Audio.Applet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Network.Applet]
|
|
Arguments=--name=Network
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[ClipboardHistory.Applet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[AudioServer]
|
|
# TODO: It would be nice to make this lazy, but Audio.Applet connects to it immediately on startup anyway.
|
|
Socket=/tmp/portal/audio
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=anon
|
|
BootModes=text,graphical
|
|
|
|
[Taskbar]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Desktop]
|
|
Executable=/bin/FileManager
|
|
Arguments=--desktop
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Terminal]
|
|
User=anon
|
|
WorkingDirectory=/home/anon
|
|
|
|
[Shell@tty0]
|
|
Executable=/bin/Shell
|
|
StdIO=/dev/tty0
|
|
Environment=TERM=xterm
|
|
KeepAlive=1
|
|
BootModes=text
|
|
|
|
[Shell@tty1]
|
|
Executable=/bin/Shell
|
|
StdIO=/dev/tty1
|
|
Environment=TERM=xterm
|
|
KeepAlive=1
|
|
BootModes=text
|
|
|
|
[CppLanguageServer]
|
|
Socket=/tmp/portal/language/cpp
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[ShellLanguageServer]
|
|
Socket=/tmp/portal/language/shell
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[SQLServer]
|
|
Socket=/tmp/portal/sql
|
|
SocketPermissions=600
|
|
Priority=low
|
|
Lazy=1
|
|
User=anon
|
|
|
|
[CrashDaemon]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[KeyboardPreferenceLoader]
|
|
KeepAlive=0
|
|
User=anon
|
|
|
|
[TestRunner@ttyS0]
|
|
Executable=/home/anon/tests/run-tests-and-shutdown.sh
|
|
StdIO=/dev/ttyS0
|
|
Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin TESTS_ONLY=1 UBSAN_OPTIONS=halt_on_error=1
|
|
User=anon
|
|
WorkingDirectory=/home/anon
|
|
BootModes=self-test
|
|
|
|
[SpiceAgent]
|
|
KeepAlive=0
|