Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/unit/docs/
H A DMakefile6 PACKAGES= unit \
7 unit-php \
8 unit-python unit-python2.7 unit-python3.4 \
9 unit-python3.5 unit-python3.6 unit-python3.7 \
10 unit-python3.8 unit-python3.9 \
11 unit-go unit-go1.7 unit-go1.8 unit-go1.9 unit-go1.10 \
12 unit-go1.12 unit-go1.13 \
13 unit-perl \
14 unit-ruby \
15 unit-jsc-common unit-jsc8 unit-jsc10 unit-jsc11 \
[all …]
/unit/pkg/deb/
H A DMakefile.go13 MODULE_SOURCES_go= unit.example-go-app \
14 unit.example-go-config
20 MODULE_DEPENDS_go=,golang,unit-dev (= $(VERSION)-$(RELEASE)~$(CODENAME))
25 mkdir -p debian/unit-go/usr/share/doc/unit-go/examples/go-app
26 …install -m 644 -p debian/unit.example-go-app debian/unit-go/usr/share/doc/unit-go/examples/go-app/…
27 …install -m 644 -p debian/unit.example-go-config debian/unit-go/usr/share/doc/unit-go/examples/unit
39 …GOPATH=/usr/share/gocode GO111MODULE=auto go build -o /tmp/go-app /usr/share/doc/unit-$(MODULE_SUF…
40 sudo service unit restart
41 cd /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples
42 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
[all …]
H A DMakefile.perl13 MODULE_SOURCES_perl= unit.example-perl-app \
14 unit.example-perl-config
22 mkdir -p debian/unit-perl/usr/share/doc/unit-perl/examples/perl-app
23 …install -m 644 -p debian/unit.example-perl-app debian/unit-perl/usr/share/doc/unit-perl/examples/p…
24 …install -m 644 -p debian/unit.example-perl-config debian/unit-perl/usr/share/doc/unit-perl/example…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_perl)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.python2713 MODULE_SOURCES_python27= unit.example-python-app \
14 unit.example-python2.7-config
22 mkdir -p debian/unit-python2.7/usr/share/doc/unit-python2.7/examples/python-app
23 …install -m 644 -p debian/unit.example-python-app debian/unit-python2.7/usr/share/doc/unit-python2.…
24 …install -m 644 -p debian/unit.example-python2.7-config debian/unit-python2.7/usr/share/doc/unit-py…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_python27)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.python3613 MODULE_SOURCES_python36= unit.example-python-app \
14 unit.example-python3.6-config
22 mkdir -p debian/unit-python3.6/usr/share/doc/unit-python3.6/examples/python-app
23 …install -m 644 -p debian/unit.example-python-app debian/unit-python3.6/usr/share/doc/unit-python3.…
24 …install -m 644 -p debian/unit.example-python3.6-config debian/unit-python3.6/usr/share/doc/unit-py…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_python36)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.python3713 MODULE_SOURCES_python37= unit.example-python-app \
14 unit.example-python3.7-config
22 mkdir -p debian/unit-python3.7/usr/share/doc/unit-python3.7/examples/python-app
23 …install -m 644 -p debian/unit.example-python-app debian/unit-python3.7/usr/share/doc/unit-python3.…
24 …install -m 644 -p debian/unit.example-python3.7-config debian/unit-python3.7/usr/share/doc/unit-py…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_python37)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.python3813 MODULE_SOURCES_python38= unit.example-python-app \
14 unit.example-python3.8-config
22 mkdir -p debian/unit-python3.8/usr/share/doc/unit-python3.8/examples/python-app
23 …install -m 644 -p debian/unit.example-python-app debian/unit-python3.8/usr/share/doc/unit-python3.…
24 …install -m 644 -p debian/unit.example-python3.8-config debian/unit-python3.8/usr/share/doc/unit-py…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_python38)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.python3913 MODULE_SOURCES_python39= unit.example-python-app \
14 unit.example-python3.9-config
22 mkdir -p debian/unit-python3.9/usr/share/doc/unit-python3.9/examples/python-app
23 …install -m 644 -p debian/unit.example-python-app debian/unit-python3.9/usr/share/doc/unit-python3.…
24 …install -m 644 -p debian/unit.example-python3.9-config debian/unit-python3.9/usr/share/doc/unit-py…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_python39)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.python31013 MODULE_SOURCES_python310= unit.example-python-app \
14 unit.example-python3.10-config
22 mkdir -p debian/unit-python3.10/usr/share/doc/unit-python3.10/examples/python-app
23 …install -m 644 -p debian/unit.example-python-app debian/unit-python3.10/usr/share/doc/unit-python3…
24 …install -m 644 -p debian/unit.example-python3.10-config debian/unit-python3.10/usr/share/doc/unit-…
36 sudo service unit restart
37 cd /usr/share/doc/unit-$(MODULE_SUFFIX_python310)/examples
38 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
41 Online documentation is available at https://unit.nginx.org
H A DMakefile.ruby13 MODULE_SOURCES_ruby= unit.example-ruby-app \
14 unit.example-ruby-config
24 mkdir -p debian/unit-ruby/usr/share/doc/unit-ruby/examples
25 …install -m 644 -p debian/unit.example-ruby-app debian/unit-ruby/usr/share/doc/unit-ruby/examples/r…
26 …install -m 644 -p debian/unit.example-ruby-config debian/unit-ruby/usr/share/doc/unit-ruby/example…
38 sudo service unit restart
39 cd /usr/share/doc/unit-$(MODULE_SUFFIX_ruby)/examples
40 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
43 Online documentation is available at https://unit.nginx.org
H A DMakefile.php13 MODULE_SOURCES_php= unit.example-php-app \
14 unit.example-php-config
29 mkdir -p debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app
30 …install -m 644 -p debian/unit.example-php-app debian/unit-php/usr/share/doc/unit-php/examples/phpi…
31 …install -m 644 -p debian/unit.example-php-config debian/unit-php/usr/share/doc/unit-php/examples/u…
43 sudo service unit restart
44 cd /usr/share/doc/unit-$(MODULE_SUFFIX_php)/examples
45 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
48 Online documentation is available at https://unit.nginx.org
H A DMakefile.jsc89 …ule=java8 --home=/usr/lib/jvm/java-8-openjdk-$$\(DEB_HOST_ARCH\) --jars=/usr/share/unit-jsc-common/
13 MODULE_SOURCES_jsc8= unit.example-jsc-app \
14 unit.example-jsc8-config
23 mkdir -p debian/unit-jsc8/usr/share/doc/unit-jsc8/examples/jsc-app
24 …install -m 644 -p debian/unit.example-jsc-app debian/unit-jsc8/usr/share/doc/unit-jsc8/examples/js…
25 …install -m 644 -p debian/unit.example-jsc8-config debian/unit-jsc8/usr/share/doc/unit-jsc8/example…
26 install -m 644 -p src/java/README.JSR-340 debian/unit-jsc8/usr/share/doc/unit-jsc8/
44 sudo service unit restart
45 cd /usr/share/doc/unit-$(MODULE_SUFFIX_jsc8)/examples
46 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
[all …]
H A DMakefile.jsc109 …e=java10 --home=/usr/lib/jvm/java-11-openjdk-$$\(DEB_HOST_ARCH\) --jars=/usr/share/unit-jsc-common/
13 MODULE_SOURCES_jsc10= unit.example-jsc-app \
14 unit.example-jsc10-config
23 mkdir -p debian/unit-jsc10/usr/share/doc/unit-jsc10/examples/jsc-app
24 …install -m 644 -p debian/unit.example-jsc-app debian/unit-jsc10/usr/share/doc/unit-jsc10/examples/…
25 …install -m 644 -p debian/unit.example-jsc10-config debian/unit-jsc10/usr/share/doc/unit-jsc10/exam…
26 install -m 644 -p src/java/README.JSR-340 debian/unit-jsc10/usr/share/doc/unit-jsc10/
44 sudo service unit restart
45 cd /usr/share/doc/unit-$(MODULE_SUFFIX_jsc10)/examples
46 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
[all …]
H A DMakefile.jsc119 …e=java11 --home=/usr/lib/jvm/java-11-openjdk-$$\(DEB_HOST_ARCH\) --jars=/usr/share/unit-jsc-common/
13 MODULE_SOURCES_jsc11= unit.example-jsc-app \
14 unit.example-jsc11-config
23 mkdir -p debian/unit-jsc11/usr/share/doc/unit-jsc11/examples/jsc-app
24 …install -m 644 -p debian/unit.example-jsc-app debian/unit-jsc11/usr/share/doc/unit-jsc11/examples/…
25 …install -m 644 -p debian/unit.example-jsc11-config debian/unit-jsc11/usr/share/doc/unit-jsc11/exam…
26 install -m 644 -p src/java/README.JSR-340 debian/unit-jsc11/usr/share/doc/unit-jsc11/
44 sudo service unit restart
45 cd /usr/share/doc/unit-$(MODULE_SUFFIX_jsc11)/examples
46 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localh…
[all …]
/unit/pkg/rpm/
H A Dunit.spec.in29 Provides: nginx-unit
31 Name: unit
37 URL: https://unit.nginx.org/
41 Source1: unit.service
42 Source2: unit-debug.service
43 Source3: unit.example.config
44 Source4: unit.logrotate
153 getent group unit >/dev/null || groupadd -r unit
156 -d /nonexistent -c "unit user" unit
192 Since version 1.22.0, Unit's non-privileged processes run as unit:unit by
[all …]
H A DMakefile.jsc1113 MODULE_SOURCES_jsc11= unit.example-jsc-app \
14 unit.example-jsc11-config
30 %{buildroot}%{_datadir}/doc/unit-jsc11/examples/unit.config
32 %{buildroot}%{_datadir}/doc/unit-jsc11/
42 %{_libdir}/unit/modules/*
43 %{_libdir}/unit/debug-modules/*
44 %dir %{_datadir}/doc/unit-jsc11
45 %{_datadir}/doc/unit-jsc11/*
46 %{_datadir}/unit-jsc-common/*
58 sudo service unit restart
[all …]
H A DMakefile.jsc815 MODULE_SOURCES_jsc8= unit.example-jsc-app \
16 unit.example-jsc8-config
32 %{buildroot}%{_datadir}/doc/unit-jsc8/examples/unit.config
34 %{buildroot}%{_datadir}/doc/unit-jsc8/
44 %{_libdir}/unit/modules/*
45 %{_libdir}/unit/debug-modules/*
46 %dir %{_datadir}/doc/unit-jsc8
47 %{_datadir}/doc/unit-jsc8/*
48 %{_datadir}/unit-jsc-common/*
60 sudo service unit restart
[all …]
H A DMakefile131 --pid=/var/run/unit/unit.pid \
132 --log=/var/log/unit/unit.log \
134 --user=unit \
135 --group=unit \
178 rpmbuild/SPECS/unit.spec: unit.spec.in ../../docs/changes.xml | rpmbuild/SPECS
179 cat unit.spec.in | \
191 cat ../../build/unit.rpm-changelog >> rpmbuild/SPECS/unit.spec
199 unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz target
250 unit-%: check-build-depends-% rpmbuild/SPECS/unit-%.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
255 test: unit modules
[all …]
H A DMakefile.php13 MODULE_SOURCES_php= unit.example-php-app \
14 unit.example-php-config
25 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-php/examples/phpinfo-app
27 %{buildroot}%{_datadir}/doc/unit-php/examples/phpinfo-app/index.php
29 %{buildroot}%{_datadir}/doc/unit-php/examples/unit.config
34 %{_libdir}/unit/modules/*
35 %{_libdir}/unit/debug-modules/*
47 sudo service unit start
49 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
52 Online documentation is available at https://unit.nginx.org
H A DMakefile.python3413 MODULE_SOURCES_python34= unit.example-python-app \
14 unit.example-python34-config
25 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-python34/examples/python-app
27 %{buildroot}%{_datadir}/doc/unit-python34/examples/python-app/wsgi.py
29 %{buildroot}%{_datadir}/doc/unit-python34/examples/unit.config
34 %{_libdir}/unit/modules/*
35 %{_libdir}/unit/debug-modules/*
47 sudo service unit start
49 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
52 Online documentation is available at https://unit.nginx.org
/unit/pkg/npm/
H A DMakefile13 cp -rp ../../src/nodejs/unit-http .
14 echo '#define NXT_NODE_VERNUM ${VERNUM}' > unit-http/version.h
15 mv unit-http/binding_pub.gyp unit-http/binding.gyp
17 unit-http/package.json > unit-http/package.json.tmp
18 mv unit-http/package.json.tmp unit-http/package.json
21 cd unit-http && $(NPM) publish
26 rm -rf unit-http
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.service3 # behaviour, run "systemctl edit unit" to create an override unit.
6 # create an override unit (as is done by systemctl edit) and enter
10 # Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
19 Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
22 RuntimeDirectory=unit
H A Dunit-debug.service3 # behaviour, run "systemctl edit unit-debug" to create an override unit.
6 # create an override unit (as is done by systemctl edit) and enter
10 # Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
19 Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
22 RuntimeDirectory=unit
/unit/pkg/docker/
H A DDockerfile.jsc118 && mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
10 && cd unit \
22 --user=unit \
23 --group=unit \
47 COPY --from=BUILDER /usr/lib/unit/ /usr/lib/unit/
49 COPY --from=BUILDER /usr/share/unit-jsc-common/ /usr/share/unit-jsc-common/
55 && mkdir -p /var/lib/unit/ \
57 && addgroup --system unit \
61 --ingroup unit \
64 --gecos "unit user" \
[all …]
/unit/auto/modules/
H A Djava31 --module=NAME set unit Java module name
388 src/java/nginx/unit/Context.java \
396 src/java/nginx/unit/InitParams.java \
397 src/java/nginx/unit/InputStream.java \
398 src/java/nginx/unit/JspPropertyGroup.java \
399 src/java/nginx/unit/OutputStream.java \
400 src/java/nginx/unit/Request.java \
402 src/java/nginx/unit/Response.java \
403 src/java/nginx/unit/Session.java \
405 src/java/nginx/unit/Taglib.java \
[all …]

12345678910>>...13