Skip to content

Commit 34817cd

Browse files
committed
update readme
1 parent 62b00c9 commit 34817cd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Readme.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# rustysd
2-
Rustysd is a service manager that tries to replicate systemd behaviour for a subset of the configuration possibilities. It focuses on the core functionality of a service manager.
2+
Rustysd is a service manager that tries to replicate systemd behaviour for a subset of the configuration possibilities. It focuses on the core functionality of a service manager, not requiring to be PID1 (aka init process).
33

44
## Will this replace systemd?
55
TLDR: No, rustysd is no dedicated replacement. It is an opportunity for the niches where systemd could not get it's foot down to profit (more easily) from the
@@ -21,8 +21,8 @@ freebsd.
2121
For now this project is just out of interest how far I could come with this
2222
and what would be needed to get a somewhat working system. It is very much a proof of concept / work in progress. For the love of god do not use this
2323
in anything that is important.
24-
It does look somewhat promising, the core parts are "working" (not thoroughly tested) but there is a lot of cleanup to be done. There is a whole lot of unwrap() calling
25-
where error handling should be done properly. It would be a bit unhelpful if your service-manager starts panicing.
24+
25+
It does look somewhat promising, most needed features are there. There are a lot of tests missing and more care needs to be taken so that rustysd itself never panics.
2626

2727
### Short intro to systemd / rustysd
2828
Systemd/rustysd operate on so called "units". These are smallish separate entities in the system like a single service. These units can be handled independently but
@@ -40,7 +40,6 @@ What is explicitly in scope of this project
4040
1. Startup sorted by dependencies (parallel if possible for unrelated units)
4141
1. Startup synchronization via *.target units
4242
1. Socket activation of services
43-
1. Kill services that have dependencies on failed services
4443

4544
What is explicitly out of scope (for now, this project is still very young):
4645
1. Timers (Cron should do fine for 99% of usecases)
@@ -53,9 +52,9 @@ What is explicitly out of scope (for now, this project is still very young):
5352
[![Gitter](https://badges.gitter.im/rustysd/community.svg)](https://gitter.im/rustysd/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
5453

5554
### About slices
56-
I dont think it is viable for a cross-platform project to support slices. In general I think it would be more sensible to put that weight on other tools.
55+
I dont think it is viable for a cross-platform project to support slices. In general I think it would be more sensible to put that responsibility on other tools.
5756

58-
I imagine something along the lines of dockers 'runc' but maybe not specialized to the container environment. Let's call the imaginary tool 'restrict', the usage I
57+
I imagine something along the lines of dockers 'runc' but not specialized to the container environment. Let's call the imaginary tool 'restrict', the usage I
5958
imagine would be along the lines of:
6059

6160
`restrict -cmd "/my/binary arg1 arg2 arg3" -mem_max=5G -io_max=10G/s`
@@ -94,7 +93,7 @@ to write a compatibility shim if an equivalents exist on the target platform. It
9493
1. setting the current process as a subprocess reaper (might not be that important, other platforms might handle reparenting of orphaned processes differently than unix)
9594
1. changing the user id to drop privileges
9695
1. an implementation of getpwnam_r and getgrnam_r. These can be swapped for getpwnam/getgrnam if needed
97-
* They can also be ignored, restricting the values of User, Group, and SupplementaryGroups to numerical values
96+
* They could also be ignored, restricting the values of User, Group, and SupplementaryGroups to numerical values
9897

9998
## What works
10099
This section should be somewhat up to date with what parts are (partly?) implemented and (partly?) tested. If you find anything does actually not work

0 commit comments

Comments
 (0)