diff options
author | Sebastien Duthil | 2016-03-24 20:37:12 -0400 |
---|---|---|
committer | Sebastien Duthil | 2016-03-24 20:37:12 -0400 |
commit | 55c6989ae8f7819f779078bc181ef8c5b5bd5dac (patch) | |
tree | 86934bd3a60d2dd3685c8c9a0083d4c41b6548fa | |
parent | 5c6e3ec24912e7da9271627d4237c044d91b33f2 (diff) | |
download | aur-55c6989ae8f7819f779078bc181ef8c5b5bd5dac.tar.gz |
s/EXTRA_BINARGS/FACTORIO_EXTRA_ARGS/
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | factorio-headless.conf | 2 | ||||
-rw-r--r-- | factorio-headless.service | 2 |
4 files changed, 10 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = factorio-headless pkgdesc = A 2D game about building and maintaining factories - Server version pkgver = 0.12.29 - pkgrel = 2 + pkgrel = 3 url = http://www.factorio.com/ install = factorio-headless.install arch = x86_64 @@ -9,14 +9,15 @@ pkgbase = factorio-headless conflicts = factorio conflicts = factorio-demo conflicts = factorio-experimental + backup = etc/conf.d/factorio source = LICENSE source = factorio-headless.service source = factorio-headless.conf source = factorio-headless.sysusers source = factorio_headless_x64_0.12.29.tar.gz::http://www.factorio.com/get-download/0.12.29/headless/linux64 sha256sums = 67ec2f88afff5d7e0ca5fd3301b5d98655269c161a394368fa0ec49fbc0c0e21 - sha256sums = ed49cfea6ee20d4934ecd60adb764c92f94415c0f6e5f2ea7bd5c06cb8574b5e - sha256sums = 4971b0345f76d1d9890cce1eeaeed74fe5335601653ab52ff4131624e008e80a + sha256sums = 9df38b60238a3c1400b668f8f5a379c4870dfde5c638e49474a20ca97f9568f0 + sha256sums = 2f14f5b6e89a158c9e65e2aba8cfbf3c0be0df414698f4ef5da950eb72c347a4 sha256sums = 87dae15d1bcfb4683faea9c66498bd916bd27f8aa0dc724c4e21076dcf17da64 sha256sums = 1b718e23c88bea5bc9cb5bf50d139333a2ab867283e3439a94763ee52e6c25c3 @@ -3,21 +3,22 @@ pkgname=factorio-headless pkgver=0.12.29 -pkgrel=2 +pkgrel=3 pkgdesc="A 2D game about building and maintaining factories - Server version" arch=('x86_64') url="http://www.factorio.com/" license=('custom: commercial') conflicts=('factorio' 'factorio-demo' 'factorio-experimental') install=factorio-headless.install +backup=(etc/conf.d/factorio) source=(LICENSE factorio-headless.service factorio-headless.conf factorio-headless.sysusers factorio_headless_x64_${pkgver}.tar.gz::http://www.factorio.com/get-download/${pkgver}/headless/linux64) sha256sums=('67ec2f88afff5d7e0ca5fd3301b5d98655269c161a394368fa0ec49fbc0c0e21' - 'ed49cfea6ee20d4934ecd60adb764c92f94415c0f6e5f2ea7bd5c06cb8574b5e' - '4971b0345f76d1d9890cce1eeaeed74fe5335601653ab52ff4131624e008e80a' + '9df38b60238a3c1400b668f8f5a379c4870dfde5c638e49474a20ca97f9568f0' + '2f14f5b6e89a158c9e65e2aba8cfbf3c0be0df414698f4ef5da950eb72c347a4' '87dae15d1bcfb4683faea9c66498bd916bd27f8aa0dc724c4e21076dcf17da64' '1b718e23c88bea5bc9cb5bf50d139333a2ab867283e3439a94763ee52e6c25c3') diff --git a/factorio-headless.conf b/factorio-headless.conf index 34a026b9ecac..6b6c59257cdc 100644 --- a/factorio-headless.conf +++ b/factorio-headless.conf @@ -9,6 +9,6 @@ AUTOSAVE_INTERVAL=10 AUTOSAVE_SLOTS=3 # Additional factorio arguments -EXTRA_BINARGS="--disallow-commands --peer-to-peer" +FACTORIO_EXTRA_ARGS="--disallow-commands --peer-to-peer" SAVE_NAME=factorio-service-save diff --git a/factorio-headless.service b/factorio-headless.service index 0e11e7938a5b..f8981450146e 100644 --- a/factorio-headless.service +++ b/factorio-headless.service @@ -7,7 +7,7 @@ After=network.target User=factorio EnvironmentFile=/etc/conf.d/factorio TimeoutStartSec=5 -ExecStart=/usr/bin/factorio --start-server $SAVE_NAME --autosave-interval $AUTOSAVE_INTERVAL --autosave-slots $AUTOSAVE_SLOTS --latency-ms $LATENCY $EXTRA_BINARGS +ExecStart=/usr/bin/factorio --start-server $SAVE_NAME --autosave-interval $AUTOSAVE_INTERVAL --autosave-slots $AUTOSAVE_SLOTS --latency-ms $LATENCY $FACTORIO_EXTRA_ARGS TimeoutStopSec=10 KillSignal=SIGINT RestartSec=10 |