summaryrefslogtreecommitdiffstats
path: root/net-nds/pamldapd/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds/pamldapd/files')
-rwxr-xr-xnet-nds/pamldapd/files/pamldapd.initd9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-nds/pamldapd/files/pamldapd.initd b/net-nds/pamldapd/files/pamldapd.initd
new file mode 100755
index 0000000..d171339
--- /dev/null
+++ b/net-nds/pamldapd/files/pamldapd.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+name="pamldapd daemon"
+description="Simple LDAP server, uses PAM as backend"
+command=/usr/bin/pamldapd
+command_args="-c /etc/pamldapd.json -l /var/log/pamldapd.log"
+command_background="yes"
+command_user="pamldapd:pamldapd"
+output_log="/var/log/pamldapd/stdout.log"
+error_log="/var/log/pamldapd/stdout.log"