Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895492 - games-server/bedrock-server-1.19.51.01 missing systemd service file
Summary: games-server/bedrock-server-1.19.51.01 missing systemd service file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2023-02-20 03:53 UTC by Yuri Sevatz
Modified: 2023-02-28 00:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Draft bedrock-server@.service (bedrock-server@.service,508 bytes, text/x-dbus-service)
2023-02-20 03:53 UTC, Yuri Sevatz
Details
Draft bedrock-server@.service V2 (bedrock-server@.service,1.02 KB, text/x-dbus-service)
2023-02-20 04:23 UTC, Yuri Sevatz
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)