Added systemd service file for nginx-ldap-auth-daemon.
This service file assumes nginx-ldap-auth-daemon.py was installed to /usr/bin under the name of nginx-ldap-auth-daemon.
This commit is contained in:
parent
40fc2ef257
commit
fe3b441727
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=LDAP authentication helper for Nginx
|
||||
After=network.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=nobody
|
||||
Group=nobody
|
||||
WorkingDirectory=/var/run
|
||||
PIDFile=/run/nginx-ldap-auth/nginx-ldap-auth.pid
|
||||
ExecStart=/usr/bin/nginx-ldap-auth-daemon
|
||||
KillMode=process
|
||||
KillSignal=SIGINT
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in New Issue