Added passenger support. Partialy 1

This commit is contained in:
Alexey Berezhok
2024-12-03 21:44:39 +03:00
parent 92f77aceca
commit d0da95dfc5
97 changed files with 5316 additions and 31 deletions

View File

@@ -27,9 +27,17 @@ Requires: zstd
Requires: jq
Requires: util-linux-user
Requires: hestiacp-php-selector
Requires: alt-brepo-ruby33
Requires: alt-brepo-ruby33-libs
Requires: alt-brepo-ruby33-rubygems
Requires: alt-brepo-ruby33-rubygem-rake
Requires: alt-brepo-ruby33-rubygem-bundler
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: ruby
Requires: puppet
Requires: puppet-stdlib
Provides: hestia = %{version}-%{release}
Conflicts: redhat-release < 8

View File

@@ -1 +1 @@
d /run/hestia 710 root wheel
d /run/hestia 710 admin admin

View File

@@ -7,9 +7,10 @@ After=hestia-php.service
[Service]
Type=forking
PIDFile=/run/hestia/nginx.pid
ExecStartPre=/usr/bin/rm -f /run/nginx.pid
ExecStartPre=/usr/bin/rm -f /run/hestia/nginx.pid
ExecStartPre=/usr/local/hestia/nginx/sbin/hestia-nginx -t -c /usr/local/hestia/nginx/conf/nginx.conf
ExecStart=/usr/local/hestia/nginx/sbin/hestia-nginx -c /usr/local/hestia/nginx/conf/nginx.conf
ExecStartPost=/bin/bash -c "[ -e /usr/local/hestia/bin/v-oneshot-service ] && /usr/local/hestia/bin/v-oneshot-service"
ExecReload=/bin/kill -s HUP $MAINPID
KillSignal=SIGQUIT
TimeoutStopSec=5