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

Commit ea10db34 authored by Timothée Floure's avatar Timothée Floure

Create user as post-install script in debian package

parent 8c907905
Pipeline #1503 failed with stages
in 5 minutes and 35 seconds
#!/bin/sh
USER=gnugen-member-management
GROUP=$USER
addgroup --system $GROUP
adduser --system \
--home /opt/gnugen-member-management \
--ingroup $GROUP \
--disabled-password \
--shell /bin/false \
$USER
chown -R $USER:$GROUP /etc/gnugen-member-management
......@@ -3,6 +3,8 @@ Description=Webapp for GNU Generation member management
[Service]
Type=simple
User=gnugen-member-management
Group=gnugen-member-management
Environment=DANCER_CONFDIR=/etc/gnugen-member-management
Workdir=/opt/gnugen-member-management
ExecStart=/usr/bin/uwsgi --socket /run/gnugen-member-management.sock --psgi /opt/gnugen-member-management/bin/app.pl --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