summaryrefslogtreecommitdiffstats
path: root/systemd/pacredir.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-04-04 13:53:22 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-04-04 13:53:22 +0200
commiteccaef432b7369bf39468c5065c9aab892c81c01 (patch)
treeea608e31c626574bc4b206b8eb1e7b206e8e036b /systemd/pacredir.service
parenta94962c502c5ca88b5546b34d0416af40cf8af44 (diff)
downloadpacredir-eccaef432b7369bf39468c5065c9aab892c81c01.tar.gz
pacredir-eccaef432b7369bf39468c5065c9aab892c81c01.tar.zst
create a system user for pacredir
Missing configuration in /etc/nsswitch.conf was problematic before... Looks looks handling of dynamic users became even worse with dbus 1.14.0 - so let's create a regular system user. Addresses #1
Diffstat (limited to 'systemd/pacredir.service')
-rw-r--r--systemd/pacredir.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/pacredir.service b/systemd/pacredir.service
index 555ab49..7184730 100644
--- a/systemd/pacredir.service
+++ b/systemd/pacredir.service
@@ -15,7 +15,7 @@ Documentation=https://github.com/eworm-de/pacredir#pacredir
Type=notify
ExecStart=/usr/bin/pacredir
ExecReload=/usr/bin/kill -HUP $MAINPID
-DynamicUser=on
+User=pacredir
ProtectSystem=full
ProtectHome=on
PrivateDevices=on