Re: RFC: OpenRC as Init System for Debian
]] Stefan Fritsch
> For example, the apache2 init script starts htcacheclean if and only
> if mod_disk_cache is enabled. While this could arguably be considered
> as an upstrem deficiency, such cases won't simply disappear because
> systemd becomes more common.
Ideally, they will, but even if they dont…
> And fixing this in the daemon as part of a packager's work is not
> feasible.
ExecStartPre=some_script_that_checks_if_htcacheclean_is_needed_and_starts_it
[...]
> Also, the apache2 init script creates various required directories on
> volatile file systems like /var/run or /var/lock and supports multiple
> running instances, but these are more common problems.
tmpfiles.d for the directories, multiple instance support is built-in
already, so that becomes easier if anything.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
Reply to: