<div dir="ltr">Hi<div>I see that default reboot/systemctl reboot command issues SIGTERM to my apps and hence it is doing graceful stop of apps and this may take some time and hence shutdown time may be little longer.<br></div><div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">I am looking for safe and fastest shutdown/reboot method.</div><br class="gmail-Apple-interchange-newline">

<br></div><div>a) It is OK if my apps are stopped ungracefully during shutdown .(app should not start automatically again after they are killed/stopped during shutdown)</div><div><br></div><div>b)  file system and such system level stuff needs to be cleanly shut down</div><div><br></div><div>1) From my research, I see that 'systemctl reboot --force' is the one I can use.</div><div>I understand that this command sends SIGKILL to my apps.</div><div>So this satisfies both (a) and (b) and hence this command should be used to reboot faster.</div><div>Could you please confirm ? <br></div><div>If this is not right method, please comment on which method to use.</div><div><br></div><div>2) Also is there a way to limit SIGKILL to only my apps when I do '

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">'systemctl reboot --force'</span></div><div>so that rest of the system level services still get stopped gracefully</div><div><br></div><div>3) If 

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">'systemctl reboot --force'<span> is correct command to use in my case, then during shutdown , will my apps get restarted </span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>due to '</span></span>Restart'/'StartLimitBurst'/'StartLimitInterval' settings in service file ? I dont want my apps to get restarted if they are stopped/killed during system shutdown</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div></div>