Recurse pull php-gnupg submodules and remove unneeded systemd.service files

This commit is contained in:
Daniel Winzen
2021-04-08 18:31:02 +02:00
parent 78b4b505d9
commit 5e7f385b06
5 changed files with 1 additions and 105 deletions

View File

@ -1,16 +0,0 @@
# This service is actually a systemd target,
# but we are using a service since targets cannot be reloaded.
[Unit]
Description=The PHP 7.3 FastCGI Process Manager (multi instance master)
Documentation=man:php-fpm7.3(8)
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecReload=/bin/true
[Install]
WantedBy=multi-user.target

View File

@ -1,35 +0,0 @@
[Unit]
Description=The PHP 7.3 FastCGI Process Manager (instance %i)
Documentation=man:php-fpm7.3(8)
After=network.target
PartOf=php7.3-fpm.service
ReloadPropagatedFrom=php7.3-fpm.service
[Service]
Type=notify
PIDFile=/run/php/php7.3-fpm-%i.pid
ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm-%i.conf
ExecReload=/bin/kill -USR2 $MAINPID
LimitNOFILE=100000
TimeoutStartSec=300
ProtectSystem=strict
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true
SystemCallArchitectures=native
ReadWritePaths=-/var/log/
ReadWritePaths=-/var/run/
ReadWritePaths=-/run/
InaccessiblePaths=-/root/
CPUQuota=100%
MemoryHigh=25%
MemoryMax=35%
RuntimeDirectory=php
RuntimeDirectoryPreserve=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,39 +0,0 @@
[Unit]
Description=The PHP 7.3 FastCGI Process Manager
Documentation=man:php-fpm7.3(8)
After=network.target
PartOf=php7.3-fpm.service
ReloadPropagatedFrom=php7.3-fpm.service
[Service]
Type=notify
PIDFile=/run/php/php7.3-fpm.pid
ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf
ExecReload=/bin/kill -USR2 $MAINPID
LimitNOFILE=100000
TimeoutStartSec=300
ProtectSystem=strict
PrivateTmp=true
# sendmail requires it...
#NoNewPrivileges=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true
SystemCallArchitectures=native
ReadWritePaths=-/var/log/
ReadWritePaths=-/var/run/
ReadWritePaths=-/run/
ReadWritePaths=-/var/local/squirrelmail/
ReadWritePaths=-/var/www/
ReadWritePaths=-/var/spool/postfix/
InaccessiblePaths=-/root/
CPUQuota=100%
MemoryHigh=25%
MemoryMax=35%
RuntimeDirectory=php
RuntimeDirectoryPreserve=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,14 +0,0 @@
[Service]
ProtectSystem=strict
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true
MemoryDenyWriteExecute=true
SystemCallArchitectures=native
InaccessiblePaths=-/var/www/
InaccessiblePaths=-/root/
ReadWritePaths=-/run/

View File

@ -1396,7 +1396,7 @@ cd ext
cd apcu && git pull && cd ..
cd php-ext-brotli && git pull && cd ..
cd imagick && git pull && cd ..
cd php-gnupg && git pull && cd ..
cd php-gnupg && git pull --recurse-submodules && cd ..
cd php-rar && git pull && cd ..
cd secp256k1-php && git pull && cd ..
rm -rf ssh2-*