summarylogtreecommitdiffstats
path: root/install
blob: 9a7b0d9e58fccbd66165765b330e918ce2ba7953 (plain)
1
2
3
4
5
post_install() {
	getent group netflow &>/dev/null || groupadd -r -g 44 netflow >/dev/null
	getent passwd netflow &>/dev/null || useradd -r -u 44 -g netflow -d /var/lib/nfsen -s /bin/false -G http netflow >/dev/null
	usr/bin/systemd-tmpfiles --create nfsen.conf || true
}