summarylogtreecommitdiffstats
path: root/graylog.install
blob: 8cfeaf8e255d0052083132b4d2de179cc9ad0a20 (plain)
1
2
3
4
5
6
7
8
9
10
pre_install() {
	useradd -c 'Graylog user' -d /usr/lib/graylog -M -U -r -s /usr/bin/nologin graylog
}
post_install() {
	chown -R graylog:graylog /etc/graylog
}
post_remove() {
	userdel graylog
	rm -rf /run/graylog
}