oohelperd packaging and CI (#374)

Closes https://github.com/ooni/backend/issues/499

Co-authored-by: Simone Basso <bassosimone@gmail.com>
This commit is contained in:
Federico Ceratto
2021-06-15 14:53:22 +01:00
committed by GitHub
parent fd5405ade1
commit 8e26dbae8e
10 changed files with 196 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_version 2.0
if [ "$1" = "configure" ]; then
if ! getent passwd oohelperd >/dev/null; then
adduser --quiet --system --group --home /var/lib/oohelperd oohelperd
fi
fi
#DEBHELPER#
exit 0