18 lines
424 B
Desktop File
18 lines
424 B
Desktop File
[Unit]
|
|
Description=LDAP authentication helper for Nginx
|
|
After=network.target network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=nginx-ldap-auth
|
|
Group=nginx-ldap-auth
|
|
WorkingDirectory=/var/run
|
|
EnvironmentFile=/etc/default/nginx-ldap-auth
|
|
ExecStart=/usr/bin/nginx-ldap-auth-daemon $URL $BASE $BIND_DN $BIND_PASS $COOKIE $FILTER $REALM
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|