summaryrefslogtreecommitdiffstats
path: root/net-nds/pamldapd/files/pamldapd.initd
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-06-04 16:02:21 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-06-04 16:02:21 +0200
commit697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323 (patch)
treee87b2abc7bd408402552ee84d135967c24052944 /net-nds/pamldapd/files/pamldapd.initd
parentpamldapd added init.d script (diff)
downloadg-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.tar
g-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.tar.gz
g-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.tar.bz2
g-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.tar.lz
g-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.tar.xz
g-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.tar.zst
g-697dfe2d6ad8ec23ce21f056a96e19e4fd4e5323.zip
Diffstat (limited to 'net-nds/pamldapd/files/pamldapd.initd')
-rwxr-xr-xnet-nds/pamldapd/files/pamldapd.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-nds/pamldapd/files/pamldapd.initd b/net-nds/pamldapd/files/pamldapd.initd
index d171339..1a4097e 100755
--- a/net-nds/pamldapd/files/pamldapd.initd
+++ b/net-nds/pamldapd/files/pamldapd.initd
@@ -3,7 +3,8 @@ 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_background=true
command_user="pamldapd:pamldapd"
output_log="/var/log/pamldapd/stdout.log"
error_log="/var/log/pamldapd/stdout.log"
+pidfile=/var/run/pamldapd.pid