summarylogtreecommitdiffstats
path: root/turingarena-git.install
blob: e4df9f65b8ee072ae503d0426abe0d2010fb0917 (plain)
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
}