summaryrefslogtreecommitdiffstats
path: root/systemd/pacdbserve.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-10 07:53:43 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-10-10 07:53:43 +0200
commit74377fb5e1043c6c5141f096b66f225878c9e249 (patch)
treef32e869ab14ffafcfdf17bad56fd100e461ec6c2 /systemd/pacdbserve.service
parentd43d774ce9bc35fdb66a3b1e72ade95a0e081f8d (diff)
downloadpacredir-74377fb5e1043c6c5141f096b66f225878c9e249.tar.gz
pacredir-74377fb5e1043c6c5141f096b66f225878c9e249.tar.zst
allocate a dynamic usersystemd-v232
Diffstat (limited to 'systemd/pacdbserve.service')
-rw-r--r--systemd/pacdbserve.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/systemd/pacdbserve.service b/systemd/pacdbserve.service
index bf2b80d..a94238d 100644
--- a/systemd/pacdbserve.service
+++ b/systemd/pacdbserve.service
@@ -3,9 +3,8 @@ Description=Darkhttpd to serve pacman db files
After=network.target
[Service]
-User=nobody
-Group=nobody
ExecStart=/usr/bin/pacdbserve /var/lib/pacman/sync/ --ipv6 --port 7079 --no-listing
+DynamicUser=on
ProtectSystem=full
ProtectHome=on
PrivateDevices=on