From 799c63c75b1a8bb27eca9cadca28b68821f079e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sat, 8 Jun 2024 14:54:57 +0200 Subject: net-nds: pamldapd --- net-nds/pamldapd/files/pamldapd.initd | 3 +++ net-nds/pamldapd/files/pamldapd.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'net-nds/pamldapd/files') 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", -- cgit v1.2.3