Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/apache/files/
Date: Wed, 01 Feb 2023 01:18:12
Message-Id: 1675214001.1ed4f7979633bb9d0a74eb6057ef4e7362180c2f.conikost@gentoo
1 commit: 1ed4f7979633bb9d0a74eb6057ef4e7362180c2f
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Sat Jan 21 11:39:19 2023 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 01:13:21 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed4f797
7
8 www-servers/apache: remove unused file
9
10 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
11 Closes: https://github.com/gentoo/gentoo/pull/29205
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 .../apache/files/apache2.2-hardened.service | 27 ----------------------
15 1 file changed, 27 deletions(-)
16
17 diff --git a/www-servers/apache/files/apache2.2-hardened.service b/www-servers/apache/files/apache2.2-hardened.service
18 deleted file mode 100644
19 index 7a512a733e72..000000000000
20 --- a/www-servers/apache/files/apache2.2-hardened.service
21 +++ /dev/null
22 @@ -1,27 +0,0 @@
23 -[Unit]
24 -Description=The Apache HTTP Server
25 -After=network.target remote-fs.target nss-lookup.target
26 -
27 -[Service]
28 -EnvironmentFile=/etc/conf.d/apache2
29 -ExecStart=/usr/sbin/apache2 $APACHE2_OPTS -DFOREGROUND
30 -ExecReload=/usr/sbin/apache2 $APACHE2_OPTS -k graceful
31 -ExecStop=/usr/sbin/apache2 $APACHE2_OPTS -k graceful-stop
32 -# We want systemd to give httpd some time to finish gracefully, but still want
33 -# it to kill httpd after TimeoutStopSec if something went wrong during the
34 -# graceful stop. Normally, Systemd sends SIGTERM signal right after the
35 -# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
36 -# httpd time to finish.
37 -KillSignal=SIGCONT
38 -PrivateTmp=true
39 -#Hardening
40 -PrivateTmp=true
41 -CapabilityBoundingSet=CAP_CHOWN CAP_SETGID CAP_SETUID CAP_DAC_OVERRIDE CAP_KILL CAP_NET_BIND_SERVICE CAP_IPC_LOCK
42 -SecureBits=noroot-locked
43 -ProtectSystem=full
44 -NoNewPrivileges=true
45 -PrivateDevices=true
46 -MemoryDenyWriteExecute=true
47 -
48 -[Install]
49 -WantedBy=multi-user.target