Hi,

If I have a user service which needs to have the system database server
available: How do I construct a proper depend?

As Lennart was pointing out, the user and system instances do not know
anything about each other, so you cannot.

The 2 other options I can think of:

a) Run a system service specifying your user id in User=

b) Enable socket activation (if possible) on the system instance
database. That way your user instance will simply wait on the socket
until the server comes up.

--
Regards,
Peter
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to