Recent Questions - Unix & Linux Stack Exchange · Aug 19, 2026
systemd, dependency on a check tool
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
I need to run a "check" type of tool before starting several daemons. How to do it? Basically, I want something like #!/bin/sh check_files_for_consistency || exit daemon_one & daemon_two & How to do that in services of systemd? For one daemon, I can just define the ExecStartPre . But how to share that for the second daemon? ; first daemon [Unit] Before=deamon_two.service [Service] Type=notify…

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.