summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--foldingathome.service6
3 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d435d05bdb..86a4ba0fb04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = foldingathome
pkgdesc = A distributed computing project for simulating protein dynamics
pkgver = 7.6.8
- pkgrel = 2
+ pkgrel = 3
url = https://foldingathome.org/
install = foldingathome.install
arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = foldingathome
source = https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.6/fahclient_7.6.8-64bit-release.tar.bz2
source = foldingathome.service
sha256sums = 588253c0042dcb0a6b97c9e16ccb8189b316df051094be4202881120255e5d31
- sha256sums = c264dc6955b5f9cc85bd48a60e23a8b0e6fa01e0a7a636bb189d8e0c507df24c
+ sha256sums = 76bcba46247d75668adcf1b0bb965e720cdefa9e24d325ed16a45e76a0074754
pkgname = foldingathome
diff --git a/PKGBUILD b/PKGBUILD
index 340058bdaae..d7dc8771071 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=foldingathome
pkgver=7.6.8
-pkgrel=2
+pkgrel=3
pkgdesc='A distributed computing project for simulating protein dynamics'
arch=(x86_64)
url=https://foldingathome.org/
@@ -28,7 +28,7 @@ source=(
foldingathome.service
)
sha256sums=('588253c0042dcb0a6b97c9e16ccb8189b316df051094be4202881120255e5d31'
- 'c264dc6955b5f9cc85bd48a60e23a8b0e6fa01e0a7a636bb189d8e0c507df24c')
+ '76bcba46247d75668adcf1b0bb965e720cdefa9e24d325ed16a45e76a0074754')
package() {
install -Dm 755 fahclient_${pkgver}-64bit-release/FAHClient -t "${pkgdir}"/usr/bin/
diff --git a/foldingathome.service b/foldingathome.service
index 41b78785a7a..c13ce1741c0 100644
--- a/foldingathome.service
+++ b/foldingathome.service
@@ -6,10 +6,12 @@ After=network.target
Type=simple
User=fah
DynamicUser=yes
+PermissionsStartOnly=true
+ConfigurationDirectory=foldingathome
StateDirectory=fah
WorkingDirectory=/var/lib/fah
-ExecStartPre=/usr/bin/cp /etc/foldingathome/config.xml /var/lib/fah/
-ExecStart=/usr/bin/FAHClient
+ExecStartPre=/usr/bin/chown fah:fah /etc/foldingathome/config.xml
+ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml
CPUSchedulingPolicy=idle
IOSchedulingClass=3