diff options
author | Sage Weil <sage@inktank.com> | 2013-05-28 08:43:10 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-28 08:43:10 -0700 |
commit | 8e982071c020d0e1d4bc8256bed4bda8cff2d535 (patch) | |
tree | 369a5f7ec3e417352dadda44ba5a1fdf2c496bf5 /src | |
parent | a6df7644b67f1a9aacff153d365acaf3e95afcf2 (diff) | |
parent | 554b41b171eab997038e83928c462027246c24f4 (diff) | |
download | ceph-8e982071c020d0e1d4bc8256bed4bda8cff2d535.tar.gz |
Merge pull request #322 from guilhem/patch-1
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/upstart/ceph-mon.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/upstart/ceph-mon.conf b/src/upstart/ceph-mon.conf index 17fd11b6a24..0279f15c5a8 100644 --- a/src/upstart/ceph-mon.conf +++ b/src/upstart/ceph-mon.conf @@ -24,3 +24,8 @@ export id #usage "cluster = name of cluster (defaults to 'ceph'); id = monitor instance id" exec /usr/bin/ceph-mon --cluster="${cluster:-ceph}" -i "$id" -f + +post-stop script + # Cleanup socket in case of segfault + rm -f "/var/run/ceph/ceph-mon.$id.asok" +end script |