]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/home/homed-varlink.c
homed: make it easier to run multiple instances of homed
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Sep 2020 15:55:51 +0000 (17:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Sep 2020 20:35:36 +0000 (22:35 +0200)
commitcc9886bc207021fa4b0a4687f1beb88e0457d21e
treef542a48d0b4fbc170ab389b110cc104f1e631745
parent79a6b4cc55ace84481a7faecfff8dd36b51b6cda
homed: make it easier to run multiple instances of homed

When debugging homed while being logged into a user account manged by
homed it is a good idea to be able to run a second copy of homed. In
order to not collide with its AF_UNIX socket and bus name use, let's add
a new env var $SYSTEMD_HOME_DEBUG_SUFFIX, when set the busnames/socket
names are suffixed by it. When setting this while debugging one can
invoke an additional copy without interfering with the host one.
src/home/homectl.c
src/home/homed-home.c
src/home/homed-manager.c
src/home/homed-manager.h
src/home/homed-varlink.c
src/home/homed.c