This commit is contained in:
Artur Gurgul1 2025-08-10 11:06:53 +02:00
parent 6ad86cf1d4
commit 5737f5ee50
4 changed files with 52 additions and 7 deletions

1
bin/set-zsh Normal file
View file

@ -0,0 +1 @@
chsh -s $(which zsh)

View file

@ -1 +1,4 @@
use python 3.11 use python 3.11
.zshrc-using < setting the environment for the user/serice

View file

@ -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

View 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