* Improve dinit service files and niri-session
Two main changes were made:
- After a discussion in davmac314/dinit#496, 2 dinit services are now
provided. The first one is 'niri', which runs niri itself, and the
second one is 'niri.target' which brings up all the dependences from
user configuration.
- Made the behaviour of 'niri-session' when running under dinit closer
to the behaviour when running under systemd. In particular, now the
script wait for service completion, because some login managers shut
the session down the moment the startup script completes.
* Update paths in docs
* Added dinit services
* Added dinit support to niri-session
* Replaced shutdown script for dinit with a single command execution
* Added dinit service files to Getting Started install tables
* Fix typo in resources/dinit/niri
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
* Fixed mistakes in wiki/Getting-Started.md
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
* niri-session does not start dinit anymore
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Sometimes graphical-session.target lingers on after niri quits, leading
to services not being started on a quick relogin. To work around this,
add and run a systemd target that conflicts with
graphical-session.target and forces its shutdown.