summaryrefslogtreecommitdiffstats
path: root/net-nds/pamldapd/files/pamldapd.initd
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-06-04 15:58:19 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-06-04 15:58:19 +0200
commitf0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c (patch)
treee5cffdf0945585d0ce7b3f8273e713db8311a01f /net-nds/pamldapd/files/pamldapd.initd
parentpamldapd-0.3 (diff)
downloadg-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.tar
g-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.tar.gz
g-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.tar.bz2
g-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.tar.lz
g-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.tar.xz
g-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.tar.zst
g-f0f4c7cfb170ee9a90bd4022a16b5a1a9d43491c.zip
Diffstat (limited to 'net-nds/pamldapd/files/pamldapd.initd')
-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"