Petr Gajdos
e7ee2b1556
- restart apache once after the rpm or zypper transaction [bnc#893659] - drop some old compat code from %post OBS-URL: https://build.opensuse.org/request/show/343856 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=466
20 lines
553 B
Desktop File
20 lines
553 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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=httpd@.service apache@.service
|
|
|