<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 &lt;sankarshan.mukhopadhyay@gmail.com&gt; написа:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">On Wed, Nov 27, 2019 at 6:10 PM Ravishankar N &lt;<a shape="rect" href="mailto:ravishankar@redhat.com" rel="nofollow" target="_blank">ravishankar@redhat.com</a>&gt; wrote:<br clear="none">&gt;<br clear="none">&gt;<br clear="none">&gt; On 27/11/19 5:52 pm, Dmitry Melekhov wrote:<br clear="none">&gt; &gt; 27.11.2019 16:16, Ravishankar N пишет:<br clear="none">&gt; &gt;&gt; [Re-adding the mailing-list]<br clear="none">&gt; &gt;&gt;<br clear="none">&gt; &gt;&gt; On 27/11/19 5:35 pm, Gregor Burck wrote:<br clear="none">&gt; &gt;&gt;&gt; Hi Ravi,<br clear="none">&gt; &gt;&gt;&gt;&gt; <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">&gt; &gt;&gt;&gt;&gt;<br clear="none">&gt; &gt;&gt;&gt; yes, seem so.<br clear="none">&gt; &gt;&gt;&gt; So I've to took it in the init secure for a normal shotdown in may<br clear="none">&gt; &gt;&gt;&gt; debian system.<br clear="none">&gt; &gt;&gt;&gt; I wonder why there is no gracefull funktion in the normal setup?<br clear="none">&gt; &gt;&gt;&gt; Think the issue isn't so unnormal, to switch one node down,...<br clear="none">&gt; &gt;&gt; I think we need to provide a way to run this script (or provide a<br clear="none">&gt; &gt;&gt; prompt to the admin to run it) when a shutdown/ reboot is invoked. If<br clear="none">&gt; &gt;&gt; you have any ideas to make this work in a generic way for most linux<br clear="none">&gt; &gt;&gt; distributions, patches are welcome :-).&nbsp; I myself am not too<br clear="none">&gt; &gt;&gt; well-versed in init scripts.<br clear="none">&gt; &gt;<br clear="none">&gt; &gt; I opened bug for this several years ago, it was closed several times<br clear="none">&gt; &gt; as won't fix.<br clear="none">&gt; &gt;<br clear="none">&gt; &gt; Funny, isn't it?<br clear="none">&gt;<br clear="none">&gt; Aged bugs getting closed due to low priority or lack of resources is<br clear="none">&gt; always something that will happen I suppose. But you are absolutely free<br clear="none">&gt; to re-open them multiple times or even send fixes, call out the<br clear="none">&gt; 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>