add luser.service file to deb package and change README
This commit is contained in:
parent
2abb42eb94
commit
359a20ea66
@ -1,3 +1,3 @@
|
|||||||
# Flask LDAP user management
|
# Flask LDAP user management
|
||||||
|
|
||||||
Web app for adding,delating and modifying users using LDAP
|
Web app that allows users to add,remove and change passwords in LDAP system
|
||||||
|
12
build-deb/luser/lib/systemd/system/luser.service
Normal file
12
build-deb/luser/lib/systemd/system/luser.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Gunicorn luser service
|
||||||
|
Documentation=man:gunicorn(1)
|
||||||
|
After=network.target nss-lookup.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/var/luser/
|
||||||
|
ExecStart=/usr/bin/gunicorn --workers 3 --bind 127.0.0.1:5000 run:app
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user