summaryrefslogtreecommitdiff
path: root/repo/tor/tor.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/tor/tor.xibuild')
-rw-r--r--repo/tor/tor.xibuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/tor/tor.xibuild b/repo/tor/tor.xibuild
index 940da31..86c0eb1 100644
--- a/repo/tor/tor.xibuild
+++ b/repo/tor/tor.xibuild
@@ -44,3 +44,8 @@ package() {
"$PKG_DEST"/etc/conf.d/"tor"
}
+
+postinstall () {
+ useradd -r -m -U -d /var/lib/tor -s /sbin/nologin -g tor tor
+ return 0
+}