Skip to content
  • Mathieu Parent's avatar
    Ensure systemd under Docker is correctly detected · cafe7cc4
    Mathieu Parent authored
    systemd includes a function, sd_booted(3), for this:
    
    Internally, this function checks whether the directory /run/systemd/system/
    exists. A simple check like this can also be implemented trivially in shell
    or any other language.
    
    Changelog: changed
    cafe7cc4