1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
USERNAME=turingarena HOME=/var/lib/turingarena post_install() { useradd -s /usr/bin/nologin -k /var/empty -md $HOME $USERNAME } pre_remove() { systemctl stop turingarena.service } post_remove() { groupdel -f turingarena userdel -fr turingarena }