Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 319) 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
/unit/pkg/rpm/
H A DMakefile100 --pid=/var/run/unit/unit.pid \
101 --log=/var/log/unit/unit.log \
103 --user=unit \
104 --group=unit \
147 rpmbuild/SPECS/unit.spec: unit.spec.in ../../docs/changes.xml | rpmbuild/SPECS
148 cat unit.spec.in | \
160 cat ../../build/unit.rpm-changelog >> rpmbuild/SPECS/unit.spec
168 unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz target
219 unit-%: check-build-depends-% rpmbuild/SPECS/unit-%.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
224 test: unit modules
[all …]
H A Dunit.spec.in25 Provides: nginx-unit
27 Name: unit
33 URL: https://unit.nginx.org/
37 Source1: unit.service
38 Source2: unit-debug.service
40 Source4: unit.logrotate
50 Provides: unit-r%{version}
144 getent group unit >/dev/null || groupadd -r unit
147 -d /nonexistent -c "unit user" unit
183 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 DMakefile.python2713 MODULE_SOURCES_python27= unit.example-python-app \
14 unit.example-python27-config
28 Obsoletes: unit-python
34 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-python27/examples/python-app
36 %{buildroot}%{_datadir}/doc/unit-python27/examples/python-app/wsgi.py
38 %{buildroot}%{_datadir}/doc/unit-python27/examples/unit.config
43 %{_libdir}/unit/modules/*
44 %{_libdir}/unit/debug-modules/*
56 sudo service unit start
58 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
[all …]
H A DMakefile.php13 MODULE_SOURCES_php= unit.example-php-app \
14 unit.example-php-config
21 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-php/examples/phpinfo-app
23 %{buildroot}%{_datadir}/doc/unit-php/examples/phpinfo-app/index.php
25 %{buildroot}%{_datadir}/doc/unit-php/examples/unit.config
30 %{_libdir}/unit/modules/*
31 %{_libdir}/unit/debug-modules/*
43 sudo service unit start
45 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
48 Online documentation is available at https://unit.nginx.org
H A DMakefile.python3813 MODULE_SOURCES_python38= unit.example-python-app \
14 unit.example-python38-config
21 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-python38/examples/python-app
23 %{buildroot}%{_datadir}/doc/unit-python38/examples/python-app/wsgi.py
25 %{buildroot}%{_datadir}/doc/unit-python38/examples/unit.config
30 %{_libdir}/unit/modules/*
31 %{_libdir}/unit/debug-modules/*
43 sudo service unit start
45 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
48 Online documentation is available at https://unit.nginx.org
H A DMakefile.go13 MODULE_SOURCES_go= unit.example-go-app \
14 unit.example-go-config
26 Requires: unit-devel == $(VERSION)-$(RELEASE)%{?dist}.ngx
35 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-go/examples/go-app
37 %{buildroot}%{_datadir}/doc/unit-go/examples/go-app/let-my-people.go
39 %{buildroot}%{_datadir}/doc/unit-go/examples/unit.config
44 %dir %{gopath}/src/unit.nginx.org/go
45 %{gopath}/src/unit.nginx.org/go/*
58 sudo service unit start
60 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
[all …]
H A DMakefile.python3713 MODULE_SOURCES_python37= unit.example-python-app \
14 unit.example-python37-config
25 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-python37/examples/python-app
27 %{buildroot}%{_datadir}/doc/unit-python37/examples/python-app/wsgi.py
29 %{buildroot}%{_datadir}/doc/unit-python37/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.python31013 MODULE_SOURCES_python310= unit.example-python-app \
14 unit.example-python310-config
25 %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-python310/examples/python-app
27 %{buildroot}%{_datadir}/doc/unit-python310/examples/python-app/wsgi.py
29 %{buildroot}%{_datadir}/doc/unit-python310/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 …]

12345678910>>...13