diff options
Diffstat (limited to 'atlassian-crucible.install')
-rw-r--r-- | atlassian-crucible.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/atlassian-crucible.install b/atlassian-crucible.install new file mode 100644 index 000000000000..4d5cbd4e991f --- /dev/null +++ b/atlassian-crucible.install @@ -0,0 +1,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 +} |