mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
SystemServer: Allow specifying per-service socket file permissions
This commit is contained in:
parent
f3dad64a3b
commit
7dd03b46ee
3 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,7 @@ describing how to launch and manage this service.
|
|||
* `KeepAlive` - whether the service should be restarted if it exits or crashes. For lazy services, this means the service will get respawned once a new connection is attempted on their socket after they exit or crash.
|
||||
* `Lazy` - whether the service should only get spawned once a client attempts to connect to their socket.
|
||||
* `Socket` - a path to a socket to create on behalf of the service. For lazy services, SystemServer will actually watch the socket for new connection attempts. An open file descriptor to this socket will be passed as fd 3 to the service.
|
||||
* `SocketPermissions` - (octal) file system permissions for the socket file. The default permissions are 0600.
|
||||
* `User` - a name of the user to run the service as. This impacts what UID, GID (and extra GIDs) the service processes have. By default, services are run as root.
|
||||
|
||||
## Environment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue