<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:13:15 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-203] BDS not stopping gracefully when running as a service</title>
                <link>https://bugs.mojang.com/browse/BDS-203</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;
&lt;p&gt;BDS does not respond to standard server signals.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Stepstoreproduce...%28windows%29&quot;&gt;&lt;/a&gt;Steps to reproduce... (windows)&lt;/h4&gt;
&lt;ol&gt;
	&lt;li&gt;Download and unzip BDS&lt;/li&gt;
	&lt;li&gt;Download and unzip NSSM&lt;/li&gt;
	&lt;li&gt;Configure BDS as a service and start - ensure you enable logging for easiest eval&lt;/li&gt;
	&lt;li&gt;Stop the service using cmd/powershell/services.msc&lt;/li&gt;
	&lt;li&gt;Note in the log that the server immediately terminates rather than running a safe shutdown&lt;/li&gt;
&lt;/ol&gt;


&lt;h4&gt;&lt;a name=&quot;WhatIexpectedtohappen...&quot;&gt;&lt;/a&gt;What I expected to happen...&lt;/h4&gt;
&lt;p&gt;BDS should handle the termination signal gracefully to allow BDS to be configured as a service.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Whatactuallyhappened...&quot;&gt;&lt;/a&gt;What actually happened...&lt;/h4&gt;
&lt;p&gt;Server immediately terminated, risking corruption etc.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Howthisaffectsadmins&quot;&gt;&lt;/a&gt;How this affects admins&lt;/h4&gt;
&lt;p&gt;At the moment its possible to configure BDS as a service and it works without issue. However when restarting the host or even just the service, it terminates immediately causing an unsafe shutdown and risking corruption.&lt;/p&gt;</description>
                <environment></environment>
        <key id="217255">BDS-203</key>
            <summary>BDS not stopping gracefully when running as a service</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="PaulK">Paul K</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Oct 2018 05:46:20 +0100</created>
                <updated>Tue, 28 Dec 2021 16:53:26 +0100</updated>
                            <resolved>Tue, 28 Dec 2021 16:53:26 +0100</resolved>
                                    <version>1.6.1.0</version>
                    <version>1.9.0.15</version>
                    <version>1.16.201.03 Hotfix</version>
                                                            <votes>2</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="1131515" author="JIRAUSER648376" created="Tue, 28 Dec 2021 16:53:26 +0100"  >&lt;p&gt;Cleaning up old tickets: This ticket had been set to &apos;Awaiting Response&apos;, but has not received a response from the reporter (~3 months+) so is being closed as &lt;em&gt;Incomplete&lt;/em&gt;. If you feel this is still a valid issue then please comment, or create a new ticket following the &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; which includes steps to reproduce the problem.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &#8211; &#128172; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support&lt;/a&gt; &#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Suggestions&lt;/a&gt; &#8211; &#128214; &lt;a href=&quot;http://minecraft.gamepedia.com/Minecraft_Wiki&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Minecraft Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1085718" author="JIRAUSER648376" created="Thu, 7 Oct 2021 15:22:58 +0200"  >&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;Does this issue still occur after updating to 1.17.34? &lt;/p&gt;

&lt;p&gt;This ticket will automatically reopen when you reply. &lt;/p&gt;</comment>
                            <comment id="783367" author="ionicecko" created="Sun, 9 Aug 2020 14:53:52 +0200"  >&lt;p&gt;The report as it currently stands is more of a feature request (the ability to run BDS as a service etc) which need to be submitted over at the feedback site (&lt;a href=&quot;https://feedback.minecraft.net&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://feedback.minecraft.net&lt;/a&gt;). &lt;/p&gt;

&lt;p&gt;However, the way BDS reacts when running as a service (not shutting down cleanly as described in &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-437&quot; title=&quot;Should handle SIGINT and SIGTERM signals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-437&quot;&gt;&lt;del&gt;BDS-437&lt;/del&gt;&lt;/a&gt; - not obeying service termination signals) I would consider a bug .&lt;/p&gt;

&lt;p&gt;I&apos;ve updated the summary to focus on that issue and confirmed the report.&lt;/p&gt;</comment>
                            <comment id="528398" author="solrac214" created="Sun, 24 Mar 2019 03:55:47 +0100"  >&lt;p&gt;I have had really good luck running the server in a docker container.&#160;&lt;a href=&quot;https://github.com/cdunkelb/bedrocker&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/cdunkelb/bedrocker&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="525308" author="mecu" created="Wed, 13 Mar 2019 23:22:18 +0100"  >&lt;p&gt;I found this, which was written for the Java version, but adapted works for Bedrock too:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gist.github.com/justinjahn/4fe65b552b0622662420928cc8ffc7c0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/justinjahn/4fe65b552b0622662420928cc8ffc7c0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="511779" author="mecu" created="Sat, 12 Jan 2019 01:29:34 +0100"  >&lt;p&gt;Can either of you please provide steps on how to achieve this?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;This comment gives an example:&#160;&lt;a href=&quot;https://bugs.mojang.com/browse/BDS-56?focusedCommentId=490680&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-490680&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://bugs.mojang.com/browse/BDS-56?focusedCommentId=490680&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-490680&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="498118" author="paulk" created="Tue, 30 Oct 2018 22:17:15 +0100"  >&lt;p&gt;Thanks, Jacob. &quot;screens&quot; was a helpful tip.&lt;/p&gt;</comment>
                            <comment id="497990" author="jmb1304" created="Tue, 30 Oct 2018 05:14:17 +0100"  >&lt;p&gt;Currently the way most server owners do this is by using the screen package. I will agree though, it would be nice if the server could detect that the operating system is shutting down and gracefully stop itself.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="225656">BDS-437</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="239430">BDS-847</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0vk53:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>