I have a server with an encrypted filesystem which must be manually brought online after a reboot. Some services require that encrypted filesystem to be mounted in order to read configuration/data files, etc.
Is there a way to tell systemd
that whenever service X starts (even manually), services Y and X should be started automatically?
I know I can script this with a "start all my stuff" script that starts the encrypted filesystem service (which isn't really a service; just a complicated mount command) and then starts everything else I need, but I was wondering if this is something systemd can handle on its own.