logrotate: copy/paste daemon list from ceph-*-all-starter.conf

Each upstart/ceph-*-all-starter.conf use the same script to find the
list of daemons and their ids. Copy it over to logrotate instead of a
less reliable script based on initctl list output.

If logrotate fails to run initctl reload on a daemon, it will keep
writing to the rotated log file, even after it is deleted and until it
fills the disk. By using the exact same shell snippet as the upstart
scripts used to start the daemon, all of them will be sent the HUP
signal and reopen the log file that was just rotated.

http://tracker.ceph.com/issues/7072 fixes #7072

Signed-off-by: Loic Dachary <loic@dachary.org>