mirror of
https://github.com/labwc/labwc.git
synced 2026-05-02 06:47:03 -04:00
docs: document labwc-session.target integration
Describe the shipped labwc-session.target in labwc(1) SESSION MANAGEMENT and add commented-out systemctl start/stop lines to the example autostart and shutdown files. Users on systemd-based distros can uncomment these to pull in graphical-session.target when labwc starts and tear it down cleanly on exit, without labwc itself mandating any specific init system.
This commit is contained in:
parent
d8119cb354
commit
af277b09ed
3 changed files with 35 additions and 0 deletions
|
|
@ -3,3 +3,11 @@
|
|||
# This file is executed as a shell script when labwc is preparing to terminate
|
||||
# itself.
|
||||
# For further details see labwc-config(5).
|
||||
|
||||
# When running under systemd, uncomment the systemctl line below to tear down
|
||||
# graphical-session.target (which cascades to labwc-session.target via
|
||||
# BindsTo, and to any service declaring PartOf=graphical-session.target).
|
||||
# Running synchronously here ensures those services are stopped before the
|
||||
# Wayland socket goes away, avoiding "Broken pipe" failures on teardown.
|
||||
#
|
||||
# systemctl --user stop graphical-session.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue