diff options
author | Tyler Cook | 2019-03-16 16:22:49 -0500 |
---|---|---|
committer | Tyler Cook | 2019-03-16 16:22:49 -0500 |
commit | ed8541e0aaebf2b25bcebcacd1f1a2a34b4513bb (patch) | |
tree | 3dd1a738b9639ba83e50dbffea16444fbd0c7a91 /sandpolis-server.install | |
download | aur-ed8541e0aaebf2b25bcebcacd1f1a2a34b4513bb.tar.gz |
Initial commit
Diffstat (limited to 'sandpolis-server.install')
-rw-r--r-- | sandpolis-server.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sandpolis-server.install b/sandpolis-server.install new file mode 100644 index 000000000000..35b2e4eb75af --- /dev/null +++ b/sandpolis-server.install @@ -0,0 +1,9 @@ +post_install() { + useradd -M -s /bin/false sandpolis + chown sandpolis /var/lib/sandpolis-server/db + chown sandpolis /var/lib/sandpolis-server/gen +} + +post_remove() { + userdel sandpolis +} |