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:
+15
@@ -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
|
||||
Reference in New Issue
Block a user