From 74377fb5e1043c6c5141f096b66f225878c9e249 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 10 Oct 2017 07:53:43 +0200 Subject: allocate a dynamic user --- systemd/pacdbserve.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'systemd/pacdbserve.service') 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 -- cgit v1.2.3-70-g09d2