summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-06-08 14:54:57 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-06-08 14:54:57 +0200
commit799c63c75b1a8bb27eca9cadca28b68821f079e5 (patch)
treeefaceeb6be9bcb19352d1ac636c23c092567a54e
parentpamldapd: default config file (diff)
downloadg-799c63c75b1a8bb27eca9cadca28b68821f079e5.tar
g-799c63c75b1a8bb27eca9cadca28b68821f079e5.tar.gz
g-799c63c75b1a8bb27eca9cadca28b68821f079e5.tar.bz2
g-799c63c75b1a8bb27eca9cadca28b68821f079e5.tar.lz
g-799c63c75b1a8bb27eca9cadca28b68821f079e5.tar.xz
g-799c63c75b1a8bb27eca9cadca28b68821f079e5.tar.zst
g-799c63c75b1a8bb27eca9cadca28b68821f079e5.zip
Diffstat (limited to '')
-rwxr-xr-xnet-nds/pamldapd/files/pamldapd.initd3
-rw-r--r--net-nds/pamldapd/files/pamldapd.json2
-rw-r--r--net-nds/pamldapd/pamldapd-0.3.ebuild3
3 files changed, 4 insertions, 4 deletions
diff --git a/net-nds/pamldapd/files/pamldapd.initd b/net-nds/pamldapd/files/pamldapd.initd
index 993a9b7..1c0155c 100755
--- a/net-nds/pamldapd/files/pamldapd.initd
+++ b/net-nds/pamldapd/files/pamldapd.initd
@@ -9,3 +9,6 @@ output_log="/var/log/pamldapd/stdout.log"
error_log="/var/log/pamldapd/stdout.log"
pidfile=/var/run/pamldapd.pid
umask=0
+start_pre() {
+ checkpath -d -m 0775 -o pamldapd:pamldapd /var/run/pamldapd
+}
diff --git a/net-nds/pamldapd/files/pamldapd.json b/net-nds/pamldapd/files/pamldapd.json
index 9d70e46..4106129 100644
--- a/net-nds/pamldapd/files/pamldapd.json
+++ b/net-nds/pamldapd/files/pamldapd.json
@@ -1,5 +1,5 @@
{
- "listen": "/var/lib/pamldapd/sock",
+ "listen": "/var/run/pamldapd/sock",
"network": "unix",
"pamservicename": "pamldapd",
"peopledn": "ou=people,dc=localhost,dc=localdomain",
diff --git a/net-nds/pamldapd/pamldapd-0.3.ebuild b/net-nds/pamldapd/pamldapd-0.3.ebuild
index 64db484..2b380f7 100644
--- a/net-nds/pamldapd/pamldapd-0.3.ebuild
+++ b/net-nds/pamldapd/pamldapd-0.3.ebuild
@@ -32,9 +32,6 @@ src_install() {
keepdir /var/log/pamldapd
fowners pamldapd:pamldapd /var/log/pamldapd
fperms 750 /var/log/pamldapd
- keepdir /var/lib/pamldapd
- fowners pamldapd:pamldapd /var/lib/pamldapd
- fperms 755 /var/lib/pamldapd
insinto /etc
newins "${FILESDIR}/pamldapd.json" pamldapd.json
newinitd "${FILESDIR}/pamldapd.initd" pamldapd