summarylogtreecommitdiffstats
path: root/atlassian-crucible.install
blob: 4d5cbd4e991f648c26a56ffd7fd132cdde636968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
  post_upgrade
}

post_upgrade() {
  systemd-sysusers crucible.conf
  systemd-tmpfiles --create crucible.conf
  chown -R crucible:crucible /etc/crucible
  chmod -R 750 /etc/crucible
}

pre_remove() {
	getent passwd crucible &>/dev/null && userdel crucible &> /dev/null
	getent group crucible &>/dev/null && groupdel crucible &> /dev/null
}