| @@ -26,8 +26,25 @@ ExecReload=/usr/sbin/httpd $OPTIONS -k graceful | |||||||
| # Send SIGWINCH for graceful stop | # Send SIGWINCH for graceful stop | ||||||
| KillSignal=SIGWINCH | KillSignal=SIGWINCH | ||||||
| KillMode=mixed | KillMode=mixed | ||||||
| PrivateTmp=true | DevicePolicy=closed | ||||||
|  | KeyringMode=private | ||||||
|  | LockPersonality=yes | ||||||
|  | MemoryDenyWriteExecute=yes | ||||||
| OOMPolicy=continue | OOMPolicy=continue | ||||||
|  | PrivateDevices=yes | ||||||
|  | PrivateTmp=true | ||||||
|  | ProtectClock=yes | ||||||
|  | ProtectControlGroups=yes | ||||||
|  | ProtectHome=read-only | ||||||
|  | ProtectHostname=yes | ||||||
|  | ProtectKernelLogs=yes | ||||||
|  | ProtectKernelModules=yes | ||||||
|  | ProtectKernelTunables=yes | ||||||
|  | ProtectSystem=yes | ||||||
|  | RestrictNamespaces=yes | ||||||
|  | RestrictRealtime=yes | ||||||
|  | RestrictSUIDSGID=yes | ||||||
|  | SystemCallArchitectures=native | ||||||
|  |  | ||||||
| [Install] | [Install] | ||||||
| WantedBy=multi-user.target | WantedBy=multi-user.target | ||||||
|   | |||||||
| @@ -19,8 +19,25 @@ ExecReload=/usr/sbin/httpd $OPTIONS -k graceful -f conf/%i.conf | |||||||
| # Send SIGWINCH for graceful stop | # Send SIGWINCH for graceful stop | ||||||
| KillSignal=SIGWINCH | KillSignal=SIGWINCH | ||||||
| KillMode=mixed | KillMode=mixed | ||||||
| PrivateTmp=true | DevicePolicy=closed | ||||||
|  | KeyringMode=private | ||||||
|  | LockPersonality=yes | ||||||
|  | MemoryDenyWriteExecute=yes | ||||||
| OOMPolicy=continue | OOMPolicy=continue | ||||||
|  | PrivateDevices=yes | ||||||
|  | PrivateTmp=true | ||||||
|  | ProtectClock=yes | ||||||
|  | ProtectControlGroups=yes | ||||||
|  | ProtectHome=read-only | ||||||
|  | ProtectHostname=yes | ||||||
|  | ProtectKernelLogs=yes | ||||||
|  | ProtectKernelModules=yes | ||||||
|  | ProtectKernelTunables=yes | ||||||
|  | ProtectSystem=yes | ||||||
|  | RestrictNamespaces=yes | ||||||
|  | RestrictRealtime=yes | ||||||
|  | RestrictSUIDSGID=yes | ||||||
|  | SystemCallArchitectures=native | ||||||
|  |  | ||||||
| [Install] | [Install] | ||||||
| WantedBy=multi-user.target | WantedBy=multi-user.target | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user