896fb4a918
Rather than installing symlinks during the installation manually, put in [Install] sections into the units. This has the same effect, but allows changing the installation conditions via systemd-presets, which are provided by the 'fedora-release' package. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
10 lines
213 B
SYSTEMD
10 lines
213 B
SYSTEMD
[Unit]
|
|
Description=D-Bus User Message Bus Socket
|
|
|
|
[Socket]
|
|
ListenStream=%t/bus
|
|
ExecStartPost=-/usr/bin/systemctl --user set-environment DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|