diff options
author | crate | 2015-06-29 12:36:18 +0000 |
---|---|---|
committer | crate | 2015-06-29 12:36:18 +0000 |
commit | b3bcf942e1e31034c67cd1982fe6a16cc91fbf15 (patch) | |
tree | 67a0c2d3a02e8fe70b99bdfd929e6c591d41a15f /crate.install | |
download | aur-b3bcf942e1e31034c67cd1982fe6a16cc91fbf15.tar.gz |
Initial import
Diffstat (limited to 'crate.install')
-rw-r--r-- | crate.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crate.install b/crate.install new file mode 100644 index 000000000000..189d0152c2a5 --- /dev/null +++ b/crate.install @@ -0,0 +1,10 @@ +post_install() { + useradd -r -g daemon -d /usr/share/crate -s /bin/false crate + chown -R crate:daemon /usr/share/crate + chown -R crate:daemon /var/lib/crate + chown -R crate:daemon /var/log/crate +} + +post_remove() { + userdel crate +} |