Created attachment 433716 [details] asterisk.initd8 In cases where we have large spooldirs (presumably due to recorings) it can take a very, very long time for asterisk to start up (worst case I've seen is a just over an hour with about 1.4TB worth of recordings). I've made some changes to the init script to improve the following: * startup time improvements by removing full sub-path checks for permissions checks (checks top-level folders now only) * full checks are still available via checkperms actions. * improved ASTERISK_USER splitting into ast_user and ast_group (no more sub processes). * Improved ownership+permissions check for coredir (based on ast_user+ast_group now instead of direct ASTERISK_USER).
Created attachment 433718 [details, diff] asterisk.initd7-initd8.diff For informational purposes, the diff from initd7 to initd8.
Created attachment 439224 [details] asterisk.init8 Updated #! line and copyright line as per IRC request from Tony.
This is in the tree on the 11.23.0 & 13.10.0 ebuilds. Thank you :)