summaryrefslogtreecommitdiffstats
path: root/systemd/pacdbserve.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-30 11:43:14 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-10-30 11:43:14 +0100
commit826b6004a06534deb7e9ee3c26e9eec2d96731fc (patch)
tree19f48372e4b80068d8983675fe6336a87d076404 /systemd/pacdbserve.service
parent84fa3f3e915b1511631e8821ec01256b7ca40c87 (diff)
downloadpaccache-826b6004a06534deb7e9ee3c26e9eec2d96731fc.tar.gz
paccache-826b6004a06534deb7e9ee3c26e9eec2d96731fc.tar.zst
use unprivileged user to run services
Diffstat (limited to 'systemd/pacdbserve.service')
-rw-r--r--systemd/pacdbserve.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/pacdbserve.service b/systemd/pacdbserve.service
index c599af0..aebd368 100644
--- a/systemd/pacdbserve.service
+++ b/systemd/pacdbserve.service
@@ -3,6 +3,8 @@ Description=Darkhttpd to serve pacman db files
After=network.target
[Service]
+User=nobody
+Group=nobody
ExecStart=/usr/bin/darkhttpd /var/lib/pacman/sync/ --port 7079
[Install]