save
This commit is contained in:
parent
6ad86cf1d4
commit
5737f5ee50
4 changed files with 52 additions and 7 deletions
1
bin/set-zsh
Normal file
1
bin/set-zsh
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
chsh -s $(which zsh)
|
||||||
3
bin/use
3
bin/use
|
|
@ -1 +1,4 @@
|
||||||
use python 3.11
|
use python 3.11
|
||||||
|
|
||||||
|
|
||||||
|
.zshrc-using < setting the environment for the user/serice
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,30 @@ repository:
|
||||||
branch: release-1.29.0
|
branch: release-1.29.0
|
||||||
version: 1.29.0
|
version: 1.29.0
|
||||||
|
|
||||||
build:
|
# TODO: finish the configuration: last message of 6898551e-70a0-8331-8617-bcfc9bcf6af8
|
||||||
- ./configure \|
|
steps:
|
||||||
--prefix=$PREFIX \|
|
- echo "starting"
|
||||||
--with-http_ssl_module \|
|
- |
|
||||||
--with-http_gzip_static_module
|
./auto/configure \
|
||||||
--with-stream
|
--prefix=$PREFIX \
|
||||||
--with-http_v2_module
|
--with-http_ssl_module \
|
||||||
|
--with-http_gzip_static_module \
|
||||||
|
--with-stream \
|
||||||
|
--with-http_v2_module \
|
||||||
|
--with-pcre-jit \
|
||||||
|
--with-threads \
|
||||||
|
--with-file-aio \
|
||||||
|
--with-http_ssl_module \
|
||||||
|
--with-http_v2_module \
|
||||||
|
--with-http_gzip_static_module \
|
||||||
|
--with-stream=dynamic \
|
||||||
|
--with-stream_ssl_module \
|
||||||
|
--sbin-path=$PREFIX/nginx/sbin/nginx \
|
||||||
|
--conf-path=$PREFIX/nginx/conf/nginx.conf \
|
||||||
|
--pid-path=$PREFIX/nginx/run/nginx.pid \
|
||||||
|
--lock-path=$PREFIX/nginx/run/nginx.lock \
|
||||||
|
--error-log-path=$PREFIX/nginx/logs/error.log \
|
||||||
|
--http-log-path=$PREFIX/nginx/logs/access.log
|
||||||
|
|
||||||
- make
|
- make
|
||||||
- $SUDO make install
|
- $SUDO make install
|
||||||
|
|
|
||||||
23
recipes/nginx/nginx.service.erb
Normal file
23
recipes/nginx/nginx.service.erb
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
sudo tee /etc/systemd/system/nginx-custom.service >/dev/null <<'EOF'
|
||||||
|
[Unit]
|
||||||
|
Description=nginx (custom prefix)
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
PIDFile=/pkg/nginx/run/nginx.pid
|
||||||
|
ExecStart=/pkg/nginx/sbin/nginx
|
||||||
|
ExecReload=/pkg/nginx/sbin/nginx -s reload
|
||||||
|
ExecStop=/pkg/nginx/sbin/nginx -s quit
|
||||||
|
TimeoutStopSec=5
|
||||||
|
#User=nginx
|
||||||
|
#Group=nginx
|
||||||
|
LimitNOFILE=65535
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# sudo systemctl daemon-reload
|
||||||
|
# sudo systemctl enable --now nginx-custom
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue