summarylogtreecommitdiffstats
path: root/foldingathome.service
diff options
context:
space:
mode:
authorMaxime Gauduin2020-04-17 19:27:33 +0200
committerMaxime Gauduin2020-04-17 20:08:03 +0200
commit2a670030a771615402cdc67acc83e63631b06f1a (patch)
treeb7fbc5f29f605be635b54b1e835284300b632908 /foldingathome.service
parent553383ecd6f1d0b97744331e3c93195444569bf9 (diff)
downloadaur-2a670030a771615402cdc67acc83e63631b06f1a.tar.gz
chown the whole directory
Diffstat (limited to 'foldingathome.service')
-rw-r--r--foldingathome.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/foldingathome.service b/foldingathome.service
index c13ce1741c06..82e8511153da 100644
--- a/foldingathome.service
+++ b/foldingathome.service
@@ -5,12 +5,12 @@ After=network.target
[Service]
Type=simple
User=fah
+SupplementaryGroups=video
DynamicUser=yes
-PermissionsStartOnly=true
ConfigurationDirectory=foldingathome
StateDirectory=fah
WorkingDirectory=/var/lib/fah
-ExecStartPre=/usr/bin/chown fah:fah /etc/foldingathome/config.xml
+ExecStartPre=!/usr/bin/chown -R fah:fah /etc/foldingathome
ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml
CPUSchedulingPolicy=idle
IOSchedulingClass=3