Moritz Borcherding
Moritz Borcherding
Systemd has an option to redirect stdin/out/err, I could add that. Then you could redirect stdout/err to a file if you wanted to
Sorry I am currently a bit swamped with university stuff. I do plan to add redirecting everything to one file, for time being until I/we have figured out a good...
@pwFoo Redirecting stdout/err to files is now (ce953310beac3f3ac20304e611386884d3478b7c) supported. Have a look at the test_units/oneshot.service. If you redirect all services to their respective log files the only output on the...
Using hashes could lead to false positives, I think. Just because the file hash changed doesn't mean the unit changes in a meaningful way. Comments/Formatting can change without the unit...
Those exist already, with the exception of the last one. And adding the last one shouldn't be too tough
The control interface is somewhat undocumented as of yet, this will need to change but there are some docs [in here](https://github.com/KillingSpark/rustysd/blob/master/src/control/mod.rs) There is rsdctl in src/bin/ which can convert cli...
@MggMuggins That is an interesting question. If the socket files of a service change then potentially everything needs to be restarted. I will need to think about this some more
@pwFoo Shutdown just shuts down rustysd (by killing all services), it's not a 'poweroff' command. The rsdctl works like this: 'rsdctl '. The argument can be a unit name for...
I am not sure how systemd handles this in their daemon-reload. From their doc: > Use systemctl daemon-reload or an equivalent command to reload unit configuration while the unit is...
with systemd poweroff/reboot/suspend/hibernate is handled by systemd-logind which presumably tells systemd to shutdown all services and then shutdown linux