https://gitlab.com/tezos/tezos
Raw File
Tip revision: 7c5bee500d29477dc72f2fc0cfaa29994af9584f authored by Thomas Letan on 21 February 2024, 08:58:14 UTC
Etherlink: Fix admin contract change in reveal_storage
Tip revision: 7c5bee5
smartrollup.postinst
#!/bin/sh

user=tezos
group=tezos
homedir=/var/tezos

# Ensure the tezos user is created
getent group ${group} >/dev/null 2>&1 || addgroup --system ${group}
getent passwd ${user} >/dev/null 2>&1 || adduser --system	\
						--home $homedir \
						--shell /bin/bash \
						--disabled-password \
						--ingroup ${group} ${user}

# Reload to get new init scripts
/usr/bin/systemctl daemon-reload
back to top