mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
3bfa4a71ff
* 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
7 lines
203 B
SYSTEMD
7 lines
203 B
SYSTEMD
type = internal
|
|
restart = false
|
|
depends-on: niri
|
|
waits-for.d: $XDG_CONFIG_HOME/dinit.d/niri.d/
|
|
waits-for.d: $HOME/.config/dinit.d/niri.d/
|
|
waits-for.d: /etc/dinit.d/user/niri.d/
|