create risotto user
This commit is contained in:
parent
30836804b2
commit
330e639b1c
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "$1" = configure ]; then
|
||||||
|
# Make sure the administrative user exists
|
||||||
|
if ! getent passwd risotto > /dev/null; then
|
||||||
|
adduser --system --home /nonexistent --no-create-home --group --gecos "User for risotto" risotto --quiet
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
|
@ -0,0 +1 @@
|
||||||
|
../risotto.service
|
|
@ -8,4 +8,4 @@
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
override_dh_installsystemd:
|
override_dh_installsystemd:
|
||||||
dh_installsystemd -peole-risotto --no-enable --no-start --no-stop-on-upgrade
|
dh_installsystemd -name=risotto --no-enable --no-start --no-stop-on-upgrade
|
||||||
|
|
Loading…
Reference in New Issue