summaryrefslogtreecommitdiff
path: root/www-servers/apache/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-01 03:03:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-01 03:03:44 +0000
commit7414e061f0ef8e77eaa6de051a83181cddbef1dc (patch)
tree6e846750aa9822865c8d3a2ddff888c916f91653 /www-servers/apache/files
parentd36c5f9e59f92a021c987989cd79d44460e0da42 (diff)
gentoo auto-resync : 01:02:2023 - 03:03:44
Diffstat (limited to 'www-servers/apache/files')
-rw-r--r--www-servers/apache/files/apache2.2-hardened.service27
1 files changed, 0 insertions, 27 deletions
diff --git a/www-servers/apache/files/apache2.2-hardened.service b/www-servers/apache/files/apache2.2-hardened.service
deleted file mode 100644
index 7a512a733e72..000000000000
--- a/www-servers/apache/files/apache2.2-hardened.service
+++ /dev/null
@@ -1,27 +0,0 @@
-[Unit]
-Description=The Apache HTTP Server
-After=network.target remote-fs.target nss-lookup.target
-
-[Service]
-EnvironmentFile=/etc/conf.d/apache2
-ExecStart=/usr/sbin/apache2 $APACHE2_OPTS -DFOREGROUND
-ExecReload=/usr/sbin/apache2 $APACHE2_OPTS -k graceful
-ExecStop=/usr/sbin/apache2 $APACHE2_OPTS -k graceful-stop
-# We want systemd to give httpd some time to finish gracefully, but still want
-# it to kill httpd after TimeoutStopSec if something went wrong during the
-# graceful stop. Normally, Systemd sends SIGTERM signal right after the
-# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
-# httpd time to finish.
-KillSignal=SIGCONT
-PrivateTmp=true
-#Hardening
-PrivateTmp=true
-CapabilityBoundingSet=CAP_CHOWN CAP_SETGID CAP_SETUID CAP_DAC_OVERRIDE CAP_KILL CAP_NET_BIND_SERVICE CAP_IPC_LOCK
-SecureBits=noroot-locked
-ProtectSystem=full
-NoNewPrivileges=true
-PrivateDevices=true
-MemoryDenyWriteExecute=true
-
-[Install]
-WantedBy=multi-user.target