aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacserve.service
blob: e3e2401331ede5610539c41eee7564cdbdee2891 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Serve pacman database files and package archives
After=systemd-tmpfiles-setup.service network.target

[Service]
ExecStart=/usr/bin/pacserve /run/pacserve/ --ipv6 --port 7078 --no-listing
BindReadOnlyPaths=/var/cache/pacman/pkg:/run/pacserve/pkg /var/lib/pacman/sync:/run/pacserve/db
DynamicUser=on
ProtectSystem=full
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on

[Install]
WantedBy=multi-user.target