<html><head></head><body><div class="ydpb9bb91c2yahoo-style-wrap" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><div></div>
<div dir="ltr" data-setdir="false">Are we talking about "<span>/usr/share/glusterfs/scripts/stop-all-gluster-processes.sh" ?</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div>Do we have a gluster.target or something like that ?</div><div><br></div><div dir="ltr" data-setdir="false">If not , I guess we can create something like this in /etc/systemd/system/glusterkill.service</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><pre><code>[Unit]
Description=Kill Gluster
[Service]
ExecStart=<span><span>/usr/share/glusterfs/scripts/stop-all-gluster-processes.sh</span></span>
[Install]
RequiredBy=shutdown.target<br><br>Of course systemd has to be reloaded :)<br><br>Best Regards,<br>Strahil Nikolov<br></code></pre></div><div><br></div></div><div><br></div>
</div><div id="ydp6d2a708cyahoo_quoted_5158835857" class="ydp6d2a708cyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
В сряда, 27 ноември 2019 г., 8:07:52 ч. Гринуич-5, Sankarshan Mukhopadhyay <sankarshan.mukhopadhyay@gmail.com> написа:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Wed, Nov 27, 2019 at 6:10 PM Ravishankar N <<a shape="rect" href="mailto:ravishankar@redhat.com" rel="nofollow" target="_blank">ravishankar@redhat.com</a>> wrote:<br clear="none">><br clear="none">><br clear="none">> On 27/11/19 5:52 pm, Dmitry Melekhov wrote:<br clear="none">> > 27.11.2019 16:16, Ravishankar N пишет:<br clear="none">> >> [Re-adding the mailing-list]<br clear="none">> >><br clear="none">> >> On 27/11/19 5:35 pm, Gregor Burck wrote:<br clear="none">> >>> Hi Ravi,<br clear="none">> >>>> <a shape="rect" href="https://lists.gluster.org/pipermail/gluster-users/2019-July/036858.html" rel="nofollow" target="_blank">https://lists.gluster.org/pipermail/gluster-users/2019-July/036858.html</a><br clear="none">> >>>><br clear="none">> >>> yes, seem so.<br clear="none">> >>> So I've to took it in the init secure for a normal shotdown in may<br clear="none">> >>> debian system.<br clear="none">> >>> I wonder why there is no gracefull funktion in the normal setup?<br clear="none">> >>> Think the issue isn't so unnormal, to switch one node down,...<br clear="none">> >> I think we need to provide a way to run this script (or provide a<br clear="none">> >> prompt to the admin to run it) when a shutdown/ reboot is invoked. If<br clear="none">> >> you have any ideas to make this work in a generic way for most linux<br clear="none">> >> distributions, patches are welcome :-). I myself am not too<br clear="none">> >> well-versed in init scripts.<br clear="none">> ><br clear="none">> > I opened bug for this several years ago, it was closed several times<br clear="none">> > as won't fix.<br clear="none">> ><br clear="none">> > Funny, isn't it?<br clear="none">><br clear="none">> Aged bugs getting closed due to low priority or lack of resources is<br clear="none">> always something that will happen I suppose. But you are absolutely free<br clear="none">> to re-open them multiple times or even send fixes, call out the<br clear="none">> maintainers if they don't respond for patch reviews etc.<br clear="none"><br clear="none">Can one of the bugs closed be added to this thread?<div class="ydp6d2a708cyqt9203423017" id="ydp6d2a708cyqtfd37216"><br clear="none">________<br clear="none"><br clear="none">Community Meeting Calendar:<br clear="none"><br clear="none">APAC Schedule -<br clear="none">Every 2nd and 4th Tuesday at 11:30 AM IST<br clear="none">Bridge: <a shape="rect" href="https://bluejeans.com/441850968" rel="nofollow" target="_blank">https://bluejeans.com/441850968</a><br clear="none"><br clear="none">NA/EMEA Schedule -<br clear="none">Every 1st and 3rd Tuesday at 01:00 PM EDT<br clear="none">Bridge: <a shape="rect" href="https://bluejeans.com/441850968" rel="nofollow" target="_blank">https://bluejeans.com/441850968</a><br clear="none"><br clear="none">Gluster-users mailing list<br clear="none"><a shape="rect" href="mailto:Gluster-users@gluster.org" rel="nofollow" target="_blank">Gluster-users@gluster.org</a><br clear="none"><a shape="rect" href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="nofollow" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br clear="none"></div></div></div>
</div>
</div></body></html>