Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 895492

Summary: games-server/bedrock-server-1.19.51.01 missing systemd service file
Product: Gentoo Linux Reporter: Yuri Sevatz <jetdog330>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: Draft bedrock-server@.service
Draft bedrock-server@.service V2

Description Yuri Sevatz 2023-02-20 03:53:46 UTC
Created attachment 853152 [details]
Draft bedrock-server@.service

The games-server/bedrock-server ebuild doesn't seem to supply a systemd service, unlike its sibling package games-server/minecraft-server :

https://github.com/gentoo/gentoo/blob/61af84b928d8da86d5ea9de6bbffb01173fcb15c/games-server/minecraft-server/minecraft-server-1.19.3.ebuild#L46

https://github.com/gentoo/gentoo/blob/61af84b928d8da86d5ea9de6bbffb01173fcb15c/games-server/bedrock-server/bedrock-server-1.19.51.01.ebuild#L51

This systemd service file looks like it should work for bedrock-server as well.  There are only a few minor differences (name and binary path), and they both RDEPEND on app-misc/dtach already.

I took the liberty of making one, and it seems to work great.
Comment 1 Yuri Sevatz 2023-02-20 04:03:32 UTC
Whoops -- it looks like you don't need the line which creates eula.txt.

Everything else looks okay.
Comment 2 Yuri Sevatz 2023-02-20 04:23:54 UTC
Created attachment 853154 [details]
Draft bedrock-server@.service V2
Comment 3 Larry the Git Cow gentoo-dev 2023-02-28 00:43:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec91a35d8e775b39fb00396eebf4e5c937812261

commit ec91a35d8e775b39fb00396eebf4e5c937812261
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2023-02-28 00:41:10 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2023-02-28 00:42:44 +0000

    games-server/bedrock-server: add 1.19.63.01
    
    Closes: https://bugs.gentoo.org/895492
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-server/bedrock-server/Manifest               |  1 +
 .../bedrock-server-1.19.63.01.ebuild               | 56 ++++++++++++++++++++++
 .../bedrock-server/files/bedrock-server.service    | 22 +++++++++
 3 files changed, 79 insertions(+)