summaryrefslogtreecommitdiff
path: root/libre/paxd-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/paxd-libre')
-rw-r--r--libre/paxd-libre/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/paxd-libre/PKGBUILD b/libre/paxd-libre/PKGBUILD
index 41792771e..145575240 100644
--- a/libre/paxd-libre/PKGBUILD
+++ b/libre/paxd-libre/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=paxd
pkgname=paxd-libre
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc='PaX exception daemon (a libre fork of paxd)'
arch=(i686 x86_64)
url='https://github.com/g4jc/paxd-libre/'
@@ -31,5 +31,7 @@ package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 ../10-enable-pax.conf "$pkgdir/usr/lib/sysctl.d/10-enable-pax.conf"
ln -s paxd-libre.conf "$pkgdir/etc/paxd.conf"
- ln -s ../paxd-libre.service "$pkgdir/usr/lib/systemd/system/sysinit.target.wants/paxd.service"
+ install -Dm644 "$pkgdir/usr/lib/systemd/system/paxd-libre.service" "$pkgdir/usr/lib/systemd/system/paxd.service"
+ ln -s ../paxd.service "$pkgdir/usr/lib/systemd/system/sysinit.target.wants/paxd.service"
+ install -Dm644 "$pkgdir/usr/lib/systemd/user/paxd-libre.service" "$pkgdir/usr/lib/systemd/user/paxd.service"
}