From: Thomas Mueller <thomas@chaschperli.ch>
To: ceph-devel@vger.kernel.org
Subject: [PATCH] debian/ceph.logrotate: enhance postrotate for "service" util
Date: Thu, 29 Jul 2010 15:58:17 +0000 (UTC) [thread overview]
Message-ID: <i2s8ep$33r$4@dough.gmane.org> (raw)
invoke-rc.d is debian specific.
run "service ceph reload" if invoke-rc.d fails.
diff --git a/debian/ceph.logrotate b/debian/ceph.logrotate
index 851d57f..baea2e9 100644
--- a/debian/ceph.logrotate
+++ b/debian/ceph.logrotate
@@ -4,6 +4,6 @@
compress
sharedscripts
postrotate
- invoke-rc.d ceph reload
+ invoke-rc.d ceph reload || service ceph reload
endscript
}
reply other threads:[~2010-07-29 15:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i2s8ep$33r$4@dough.gmane.org' \
--to=thomas@chaschperli.ch \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.