apache2/apache2@.service
Petr Gajdos d02cd192bf Accepting request 347820 from home:elvigia:branches:Apache
- systemd: Set TasksMax=infinity for current systemd releases.
  The default limit of 512 is too small and prevents the creation of 
  new server processes. Apache has its own runtime/harcoded limits.

OBS-URL: https://build.opensuse.org/request/show/347820
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=468
2015-12-08 12:53:06 +00:00

21 lines
571 B
Desktop File

[Unit]
Description=The Apache Webserver %I
After=network.target nss-lookup.target time-sync.target
Before=getty@tty1.service plymouth-quit.service xdm.service
PartOf=apache2.target
[Service]
Type=notify
PrivateTmp=true
Environment="HTTPD_INSTANCE=%i"
ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start
ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful
ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop
KillMode=mixed
TasksMax=infinity
[Install]
WantedBy=multi-user.target
Alias=httpd@.service apache@.service