Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Luca (strifel)
uffd
Commits
9fdb6c41
Verified
Commit
9fdb6c41
authored
3 years ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
enable uwsgi app by default and add maintainer script to restart uwsgi
parent
d0e52e42
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+1
-3
1 addition, 3 deletions
.gitlab-ci.yml
CHANGELOG
+9
-0
9 additions, 0 deletions
CHANGELOG
debian/control
+2
-2
2 additions, 2 deletions
debian/control
debian/links
+2
-0
2 additions, 0 deletions
debian/links
debian/postinst
+2
-0
2 additions, 0 deletions
debian/postinst
with
16 additions
and
5 deletions
.gitlab-ci.yml
+
1
−
3
View file @
9fdb6c41
...
...
@@ -29,7 +29,7 @@ build:apt:
script
:
-
cp CHANGELOG debian/changelog
-
export PYBUILD_INSTALL_ARGS="--install-lib=/usr/share/uffd/ --install-scripts=/usr/share/uffd/"
-
gbp dch --ignore-branch --debian-tag=v%\(version\)s
-
gbp dch
--no-git-author
--ignore-branch --debian-tag=v%\(version\)s
-
dpkg-buildpackage -us -uc
-
mkdir build
-
mv ../*.deb build/
...
...
@@ -114,8 +114,6 @@ test:package:apt:
stage
:
test
script
:
-
apt -y install ./build/*.deb
-
ln -s /etc/uffd/uwsgi.ini /etc/uwsgi/apps-available/uffd.ini
-
ln -s /etc/uwsgi/apps-available/uffd.ini /etc/uwsgi/apps-enabled/uffd.ini
-
service uwsgi start uffd || ( service uwsgi status uffd ; sleep 15; cat /var/log/uwsgi/app/uffd.log; )
-
echo "server { listen 127.0.0.1:5000 default_server; include /etc/uffd/nginx.include.conf; }" > /etc/nginx/sites-enabled/uffd.ini
-
service nginx start || ( service nginx status; nginx -t; exit 1; )
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG
+
9
−
0
View file @
9fdb6c41
uffd (0.3.0) unstagle; urgency=medium
* update link to rocketchat in README
* add uffd-admin command, cleanup cronjob and needed /run folder
* move package build dependencies to docker image
* enable uwsgi app by default and add maintainer script to restart uwsgi
-- CCCV <it@cccv.de> Sat, 31 Jul 2021 23:36:01 +0000
uffd (0.2.0) unstable; urgency=medium
* Working debian packages
...
...
This diff is collapsed.
Click to expand it.
debian/control
+
2
−
2
View file @
9fdb6c41
...
...
@@ -24,8 +24,8 @@ Depends:
python3-fido2,
python3-flask-oauthlib,
python3-flask-babel,
Recommends:
nginx,
uwsgi,
uwsgi-plugin-python3,
Recommends:
nginx,
Description: UserFerwaltungsFrontend: Ldap based single sign on and user management web software
This diff is collapsed.
Click to expand it.
debian/links
+
2
−
0
View file @
9fdb6c41
/etc/uffd/uffd.cfg /usr/share/uffd/uffd/instance/config.cfg
/etc/uffd/uwsgi.ini /etc/uwsgi/apps-available/uffd.ini
/etc/uwsgi/apps-available/uffd.ini /etc/uwsgi/apps-enabled/uffd.ini
This diff is collapsed.
Click to expand it.
debian/postinst
+
2
−
0
View file @
9fdb6c41
...
...
@@ -12,6 +12,8 @@ case "$1" in
chown
root:uffd /etc/uffd/uffd.cfg
chmod
0640 /etc/uffd/uffd.cfg
invoke-rc.d uwsgi restart uffd
;;
abort-upgrade|abort-remove|abort-deconfigure
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment