From 7eacf20f84103483d8b69bc3131435979d498850 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 11 Jan 2016 02:18:08 +0100 Subject: also create special user for vanity to run as --- debian/vanity.postinst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/vanity.postinst (limited to 'debian/vanity.postinst') diff --git a/debian/vanity.postinst b/debian/vanity.postinst new file mode 100644 index 0000000..c6f9aba --- /dev/null +++ b/debian/vanity.postinst @@ -0,0 +1,12 @@ +#!/bin/sh +# postinst script for vanity + +set -e + +if [ "$1" = "configure" ]; then + adduser --quiet --system --group --no-create-home --home /var/lib/vanity vanity +fi + +#DEBHELPER# + +exit 0 -- cgit v1.2.3