mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Fix PHP-FPM config package in spec file
This commit is contained in:
parent
892c4c668d
commit
bcde7d173b
1 changed files with 8 additions and 2 deletions
10
dist/rpm/arsse.spec
vendored
10
dist/rpm/arsse.spec
vendored
|
@ -96,7 +96,7 @@ rm -f vendor/nicolus/picofeed/picofeed
|
||||||
# Patch PHP-FPM pool with correct socket path
|
# Patch PHP-FPM pool with correct socket path
|
||||||
sed -i -se 's/\/var\/run\/php\/arsse\.sock/\/run\/php-fpm\/arsse.sock/' dist/php-fpm.conf
|
sed -i -se 's/\/var\/run\/php\/arsse\.sock/\/run\/php-fpm\/arsse.sock/' dist/php-fpm.conf
|
||||||
# Patch the systemd unit file to remove the binding to the PHP-FPM service
|
# Patch the systemd unit file to remove the binding to the PHP-FPM service
|
||||||
sed -i -se 's/^PartOf=.*//' /dist/systemd/arsse-fetch.service
|
sed -i -se 's/^PartOf=.*//' dist/systemd/arsse-fetch.service
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%sysusers_generate_pre dist/sysuser.conf arsse system-user-arsse.conf
|
%sysusers_generate_pre dist/sysuser.conf arsse system-user-arsse.conf
|
||||||
|
@ -120,7 +120,13 @@ install -m 644 dist/sysuser.conf %{buildroot}%{_sysusersdir}/system-user-arsse.c
|
||||||
%{_bindir}/arsse
|
%{_bindir}/arsse
|
||||||
%{_unitdir}/arsse.service
|
%{_unitdir}/arsse.service
|
||||||
|
|
||||||
%files fpm
|
%files config-fpm
|
||||||
|
%dir %{_sysconfdir}/php7
|
||||||
|
%dir %{_sysconfdir}/php8
|
||||||
|
%dir %{_sysconfdir}/php7/fpm
|
||||||
|
%dir %{_sysconfdir}/php8/fpm
|
||||||
|
%dir %{_sysconfdir}/php7/fpm/php-fpm.d
|
||||||
|
%dir %{_sysconfdir}/php8/fpm/php-fpm.d
|
||||||
%{_sysconfdir}/php7/fpm/php-fpm.d/arsse.conf
|
%{_sysconfdir}/php7/fpm/php-fpm.d/arsse.conf
|
||||||
%{_sysconfdir}/php8/fpm/php-fpm.d/arsse.conf
|
%{_sysconfdir}/php8/fpm/php-fpm.d/arsse.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue