Ties systemd units to graphical-session.target

- wayland-instance template target was a mistake.
  Systemd does not support simultaneous same user session, so stop
  trying to go against that.
- Only start systemd units in Wayland environments.
This commit is contained in:
Max Gautier 2023-02-14 09:49:32 +01:00
parent e18a2f2adb
commit 37f8828b64
No known key found for this signature in database
4 changed files with 14 additions and 10 deletions

View file

@ -283,13 +283,13 @@ if systemd.found() or custom_systemd_units_dir != ''
configure_file(
configuration: configuration,
input: 'foot-server@.service.in',
input: 'foot-server.service.in',
output: '@BASENAME@',
install_dir: systemd_units_dir
)
install_data(
'foot-server@.socket',
'foot-server.socket',
install_dir: systemd_units_dir)
endif