D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
systemd
/
system
/
Filename :
apache2@.service
back
Copy
[Unit] Description=The Apache HTTP Server After=network.target remote-fs.target nss-lookup.target ConditionPathIsDirectory=/etc/apache2-%i Documentation=https://httpd.apache.org/docs/2.4/ [Service] Type=notify Environment=APACHE_CONFDIR=/etc/apache2-%i Environment=APACHE_STARTED_BY_SYSTEMD=true ExecStart=/usr/sbin/apachectl start ExecStop=/usr/sbin/apachectl graceful-stop ExecReload=/usr/sbin/apachectl graceful # Send SIGWINCH for graceful stop KillSignal=SIGWINCH KillMode=mixed PrivateTmp=true Restart=on-abnormal RemoveIPC=yes DevicePolicy=closed KeyringMode=private LockPersonality=yes MemoryDenyWriteExecute=yes PrivateDevices=yes ProtectClock=yes ProtectControlGroups=yes ProtectHome=read-only ProtectHostname=yes ProtectKernelLogs=yes ProtectKernelModules=yes ProtectKernelTunables=yes ProtectSystem=full RestrictNamespaces=yes RestrictRealtime=yes RestrictSUIDSGID=yes SystemCallArchitectures=native ProtectProc=invisible ProcSubset=pid ReadWritePaths=/var/log/apache2-%i ReadWritePaths=/var/cache/apache2-%i/mod_cache_disk InaccessiblePaths=/boot InaccessiblePaths=/root InaccessiblePaths=-/etc/sudoers InaccessiblePaths=-/etc/sudoers.d InaccessiblePaths=-/etc/ssh InaccessiblePaths=-/etc/apt InaccessiblePaths=-/etc/.git InaccessiblePaths=-/etc/.svn [Install] WantedBy=multi-user.target