diff options
author | Emmanuel Gil Peyrot | 2016-06-11 01:36:21 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot | 2016-06-11 01:36:21 +0100 |
commit | 3ab702c34d0bcc2c2a15d7735ddbb64d89d36dea (patch) | |
tree | ecda278a074d54b9edf48b5830775535f930ddf3 /biboumi.install | |
parent | 75481d08485e80efffd2d2cc810289994c9d13de (diff) | |
download | aur-3ab702c34d0bcc2c2a15d7735ddbb64d89d36dea.tar.gz |
Add a biboumi user, and create the database and logs directories.
Diffstat (limited to 'biboumi.install')
-rw-r--r-- | biboumi.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/biboumi.install b/biboumi.install new file mode 100644 index 000000000000..d86c40006c0c --- /dev/null +++ b/biboumi.install @@ -0,0 +1,15 @@ +post_install() { + echo Installing... + systemd-sysusers biboumi.conf + install -dm750 -o biboumi -g jabber var/lib/biboumi + install -dm750 -o biboumi -g jabber var/log/biboumi +} + +post_upgrade() { + echo Upgrading... + post_install $1 +} + +post_remove() { + systemd-sysusers biboumi.conf +} |