summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-12-17 14:30:18 +0300
committerAndrei Belov <defan@nginx.com>2020-12-17 14:30:18 +0300
commit53d847615b270daf706373d65ac5f5d2101f36d9 (patch)
tree545781339f41332b48c6a25f812ecf437676bbc1 /pkg/deb/Makefile
parenta5fa9673d98c9c814c01ddfce8bcfbec6fcc02e8 (diff)
downloadunit-53d847615b270daf706373d65ac5f5d2101f36d9.tar.gz
unit-53d847615b270daf706373d65ac5f5d2101f36d9.tar.bz2
Packages: run non-privileged processes under "unit" user.
Diffstat (limited to 'pkg/deb/Makefile')
-rw-r--r--pkg/deb/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index ada5f35b..6ce7373b 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -157,6 +157,8 @@ CONFIGURE_ARGS=\
--pid=/var/run/unit.pid \
--log=/var/log/unit.log \
--tmp=/var/tmp \
+ --user=unit \
+ --group=unit \
--tests \
--openssl