diff --git a/README.md b/README.md index a48956c..1b813f9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # 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 diff --git a/build-deb/luser/lib/systemd/system/luser.service b/build-deb/luser/lib/systemd/system/luser.service new file mode 100644 index 0000000..3505f83 --- /dev/null +++ b/build-deb/luser/lib/systemd/system/luser.service @@ -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 +