Upgpkg: 1.9-3

Fix faulty systemd unit files with wrong use of environment variables.
This commit is contained in:
Gordian Edenhofer 2016-03-04 18:36:18 +01:00
parent b564c24abe
commit 04f376ccc9
4 changed files with 10 additions and 11 deletions

View File

@ -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.9 pkgver = 1.9
pkgrel = 2 pkgrel = 3
url = http://minecraft.net/ url = http://minecraft.net/
install = minecraft-server.install install = minecraft-server.install
arch = any arch = any
@ -24,9 +24,9 @@ pkgbase = minecraft-server
source = minecraftd.conf source = minecraftd.conf
source = minecraftd.sh source = minecraftd.sh
md5sums = ff68834eee875bcf367422c67673207c md5sums = ff68834eee875bcf367422c67673207c
md5sums = f75c76446f96311563e87fc688148501 md5sums = 09e94951d2c2fcf5afab890cdd51dacb
md5sums = fef6fadd0739ae03ff71ba61025be207 md5sums = fef6fadd0739ae03ff71ba61025be207
md5sums = cab358c32dd0d4d2463e60ee2996f658 md5sums = 53f7e807bd53f32be2f0c6c06b249f63
md5sums = 54438e0c47cc5083e0a4376688b46092 md5sums = 54438e0c47cc5083e0a4376688b46092
md5sums = 4f11b1efd6941ea894ca0497824201cf md5sums = 4f11b1efd6941ea894ca0497824201cf

View File

@ -4,7 +4,7 @@
pkgname=minecraft-server pkgname=minecraft-server
pkgver=1.9 pkgver=1.9
pkgrel=2 pkgrel=3
pkgdesc="Minecraft server unit files, script, and jar" pkgdesc="Minecraft server unit files, script, and jar"
arch=('any') arch=('any')
url="http://minecraft.net/" url="http://minecraft.net/"
@ -24,9 +24,9 @@ source=("https://s3.amazonaws.com/Minecraft.Download/versions/${pkgver}/minecraf
"minecraftd.sh") "minecraftd.sh")
noextract=("minecraft_server.${pkgver}.jar") noextract=("minecraft_server.${pkgver}.jar")
md5sums=('ff68834eee875bcf367422c67673207c' md5sums=('ff68834eee875bcf367422c67673207c'
'f75c76446f96311563e87fc688148501' '09e94951d2c2fcf5afab890cdd51dacb'
'fef6fadd0739ae03ff71ba61025be207' 'fef6fadd0739ae03ff71ba61025be207'
'cab358c32dd0d4d2463e60ee2996f658' '53f7e807bd53f32be2f0c6c06b249f63'
'54438e0c47cc5083e0a4376688b46092' '54438e0c47cc5083e0a4376688b46092'
'4f11b1efd6941ea894ca0497824201cf') '4f11b1efd6941ea894ca0497824201cf')

View File

@ -6,8 +6,8 @@ After=local-fs.target
Type=forking Type=forking
EnvironmentFile=/etc/conf.d/minecraft EnvironmentFile=/etc/conf.d/minecraft
ExecStart=/usr/bin/minecraftd backup ExecStart=/usr/bin/minecraftd backup
USER=$MC_USER USER=minecraft
GROUP=$MC_USER GROUP=minecraft
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -4,11 +4,10 @@ After=local-fs.target network.target
[Service] [Service]
Type=forking Type=forking
EnvironmentFile=/etc/conf.d/minecraft
ExecStart=/usr/bin/minecraftd start ExecStart=/usr/bin/minecraftd start
ExecStop=/usr/bin/minecraftd stop ExecStop=/usr/bin/minecraftd stop
USER=$MC_USER USER=minecraft
GROUP=$MC_USER GROUP=minecraft
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target