upgpkg: minecraft-server 1.12.2-2
Update the SystemD service file to wait for the multi-user target prior to initiating the application and remove the 'WantedBy' parameter. This makes sure that the application does not start prior to the required user being available. upgpkg: cuberite 1.12b975-1 upgpkg: spigot 1.12.2+b73-1
This commit is contained in:
parent
a7d0166b3d
commit
b8e4d582ec
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = minecraft-server
|
pkgbase = minecraft-server
|
||||||
pkgdesc = Minecraft server unit files, script, and jar
|
pkgdesc = Minecraft server unit files, script, and jar
|
||||||
pkgver = 1.12.2
|
pkgver = 1.12.2
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://minecraft.net/
|
url = https://minecraft.net/
|
||||||
install = minecraft-server.install
|
install = minecraft-server.install
|
||||||
arch = any
|
arch = any
|
||||||
|
@ -27,7 +27,7 @@ pkgbase = minecraft-server
|
||||||
sha512sums = 327196bfb833160ae6fb7d12b7d372d031bc0ffbac3455481c1635b01e00f0d5502d4698fbc4f8e7ee59cc3902d56c41261c45d1f1c8f3972e192631f504a0fc
|
sha512sums = 327196bfb833160ae6fb7d12b7d372d031bc0ffbac3455481c1635b01e00f0d5502d4698fbc4f8e7ee59cc3902d56c41261c45d1f1c8f3972e192631f504a0fc
|
||||||
sha512sums = c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7
|
sha512sums = c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7
|
||||||
sha512sums = 19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418
|
sha512sums = 19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418
|
||||||
sha512sums = b0124c8cd90a4f9901a9105c0ee51eb3e7db944d106cf30fd91b29794178e650d3a21c3be3c8e0cb454b2cef6f27541c44e7a5e77a1d50f89b9152363de51d28
|
sha512sums = 0c7d8a0c862490967dc392a425d06e8ac008241c29ba1427af0fa6834e25979c62378445c3384dff8af7fdf1ed612cc70ca10e5244723aa2ceb76594ab17dd8f
|
||||||
sha512sums = 73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67
|
sha512sums = 73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67
|
||||||
sha512sums = b83b93a25d312825363eb85dec4b04379e9a3b2caf9faaf6f4958966900ecd2d2d5d8c5ecc25fca711da1dbf162129720bed419492ef8bf9dbb1649a5bdb1656
|
sha512sums = b83b93a25d312825363eb85dec4b04379e9a3b2caf9faaf6f4958966900ecd2d2d5d8c5ecc25fca711da1dbf162129720bed419492ef8bf9dbb1649a5bdb1656
|
||||||
|
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pkgname=minecraft-server
|
pkgname=minecraft-server
|
||||||
pkgver=1.12.2
|
pkgver=1.12.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Minecraft server unit files, script, and jar"
|
pkgdesc="Minecraft server unit files, script, and jar"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://minecraft.net/"
|
url="https://minecraft.net/"
|
||||||
|
@ -25,7 +25,7 @@ noextract=("minecraft_server.${pkgver}.jar")
|
||||||
sha512sums=('327196bfb833160ae6fb7d12b7d372d031bc0ffbac3455481c1635b01e00f0d5502d4698fbc4f8e7ee59cc3902d56c41261c45d1f1c8f3972e192631f504a0fc'
|
sha512sums=('327196bfb833160ae6fb7d12b7d372d031bc0ffbac3455481c1635b01e00f0d5502d4698fbc4f8e7ee59cc3902d56c41261c45d1f1c8f3972e192631f504a0fc'
|
||||||
'c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7'
|
'c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7'
|
||||||
'19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418'
|
'19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418'
|
||||||
'b0124c8cd90a4f9901a9105c0ee51eb3e7db944d106cf30fd91b29794178e650d3a21c3be3c8e0cb454b2cef6f27541c44e7a5e77a1d50f89b9152363de51d28'
|
'0c7d8a0c862490967dc392a425d06e8ac008241c29ba1427af0fa6834e25979c62378445c3384dff8af7fdf1ed612cc70ca10e5244723aa2ceb76594ab17dd8f'
|
||||||
'73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67'
|
'73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67'
|
||||||
'b83b93a25d312825363eb85dec4b04379e9a3b2caf9faaf6f4958966900ecd2d2d5d8c5ecc25fca711da1dbf162129720bed419492ef8bf9dbb1649a5bdb1656')
|
'b83b93a25d312825363eb85dec4b04379e9a3b2caf9faaf6f4958966900ecd2d2d5d8c5ecc25fca711da1dbf162129720bed419492ef8bf9dbb1649a5bdb1656')
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Minecraft Server
|
Description=Minecraft Server
|
||||||
After=local-fs.target network.target
|
After=local-fs.target network.target multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
|
@ -10,4 +10,3 @@ User=minecraft
|
||||||
Group=minecraft
|
Group=minecraft
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user