On Wed, Nov 8, 2017 at 12:31 PM, <mag...@minimum.se> wrote: > Hi! > > My team is building a embedded (Linux) platform which is to be distributed > within our company as a binary distribution. On top of the platform, other > teams write applications and put in branding to create products. > > To separate the applications from the platform, apps and related files are > placed in a separate partition that gets mounted at boot by systemd. > When the system boots, the applications on the separate partition should > start, preferably by systemd. > > TL;DR: How can I make systemd read and start services that are defined by > units located in a directory that becomes available after a certain mount > unit has run in the boot sequence? >
Use an initramfs and make it mount the necessary parts of /usr before switching to the main system. That's the usual approach in desktop/server distros. -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel