Users using the Tequila login are invited to migrate to This instance will close for Tequila users by May 2020.

Commit 8c907905 authored by Timothée Floure's avatar Timothée Floure

Add systemd unit file to package, put configuration in /etc

parent 079c8ab5
Pipeline #1502 failed with stages
in 5 minutes and 35 seconds
......@@ -8,6 +8,6 @@ Homepage:
Package: gnugen-member-management
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Depends: ${misc:Depends}, ${perl:Depends}, uwsgi
Description: Webapp to manage GNU Generation members.
Webapp to manage LDAP accounts and subscriptions of GNU Generation members.
......@@ -14,5 +14,9 @@ override_dh_auto_test:
@echo "Tests are run in a separate CI job"
mkdir -p debian/gnugen-member-management/opt/$(PACKAGE_NAME)
mkdir -p debian/gnugen-member-management/opt/$(PACKAGE_NAME) \
debian/gnugen-member-management/etc/$(PACKAGE_NAME) \
tar --directory debian/$(PACKAGE_NAME)/opt/$(PACKAGE_NAME) --strip-component 1 -x -v -f GnuGeneration-MemberManagement-*.tar.gz
install -m640 config.yml debian/gnugen-member-management/etc/$(PACKAGE_NAME)/config.yml
install -m644 $(PACKAGE_NAME).service debian/gnugen-member-management/lib/systemd/system/$(PACKAGE_NAME).service
Description=Webapp for GNU Generation member management
ExecStart=/usr/bin/uwsgi --socket /run/gnugen-member-management.sock --psgi /opt/gnugen-member-management/bin/ --env PLACK_ENV=production
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment