Am 28.04.20 um 15:57 schrieb Skylar Thompson:
Have you looked a the mmaddcallback command and specifically the file system mount callbacks?
We use callbacks successfully to ensure Linux auditd rules are only loaded after GPFS is mounted. It was easy to setup, and there's very fine-grained events that you can trigger on:
Thanks. But how do set this up for a systemd service? Disable the dependent service and start it from the callback? Create some kind of state file in the callback and let the dependent systemd service check that flag file in a busy loop? Use inotify for the flag file? Uli -- Science + Computing AG Vorstandsvorsitzender/Chairman of the board of management: Dr. Martin Matzke Vorstand/Board of Management: Matthias Schempp, Sabine Hohenstein Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Aufsichtsrat/Supervisory Board: Martin Wibbe, Ursula Morgenstern Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196
