summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-01-31 13:22:23 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-01-31 13:22:23 +0100
commit746c60ac83cce35c994fc2210040dc80d2f45da6 (patch)
tree405be7c5dd3fc56a77396cf4d4dda6c8918bac57 /systemd
parent7af3833b4f71f5060373eb15dc995c1dd685eeb5 (diff)
downloadpacredir-746c60ac83cce35c994fc2210040dc80d2f45da6.tar.gz
pacredir-746c60ac83cce35c994fc2210040dc80d2f45da6.tar.zst
use symlinks for pacserve and pacdbserve
This adds the service names to log, not just 'darkhttpd'.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacdbserve.service2
-rw-r--r--systemd/pacserve.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/systemd/pacdbserve.service b/systemd/pacdbserve.service
index 09d1792..bf2b80d 100644
--- a/systemd/pacdbserve.service
+++ b/systemd/pacdbserve.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
User=nobody
Group=nobody
-ExecStart=/usr/bin/darkhttpd /var/lib/pacman/sync/ --ipv6 --port 7079 --no-listing
+ExecStart=/usr/bin/pacdbserve /var/lib/pacman/sync/ --ipv6 --port 7079 --no-listing
ProtectSystem=full
ProtectHome=on
PrivateDevices=on
diff --git a/systemd/pacserve.service b/systemd/pacserve.service
index 198e931..ee51821 100644
--- a/systemd/pacserve.service
+++ b/systemd/pacserve.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
User=nobody
Group=nobody
-ExecStart=/usr/bin/darkhttpd /var/cache/pacman/pkg/ --ipv6 --port 7078 --no-listing
+ExecStart=/usr/bin/pacserve /var/cache/pacman/pkg/ --ipv6 --port 7078 --no-listing
ProtectSystem=full
ProtectHome=on
PrivateDevices=on