diff options
author | CoprDistGit <infra@openeuler.org> | 2024-06-07 08:09:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-06-07 08:09:38 +0000 |
commit | edf4f9a1c21918301ebf00f421c1e6242177548a (patch) | |
tree | 4f4e54156e7e2eb810d156806ca5ec07cd11b332 /httpd.service | |
parent | 234812b47987978dfc84e99bfdca4f5f4d6fbfa9 (diff) |
automatic import of httpd
Diffstat (limited to 'httpd.service')
-rw-r--r-- | httpd.service | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/httpd.service b/httpd.service new file mode 100644 index 0000000..6ff4e8b --- /dev/null +++ b/httpd.service @@ -0,0 +1,32 @@ +# See httpd.service(8) for more information on using the httpd service. + +# Modifying this file in-place is not recommended, because changes +# will be overwritten during package upgrades. To customize the +# behaviour, run "systemctl edit httpd" to create an override unit. + +# For example, to pass additional options (such as -D definitions) to +# the httpd binary at startup, create an override unit (as is done by +# systemctl edit) and enter the following: + +# [Service] +# Environment=OPTIONS=-DMY_DEFINE + +[Unit] +Description=The Apache HTTP Server +Wants=httpd-init.service +After=network.target remote-fs.target nss-lookup.target httpd-init.service +Documentation=man:httpd.service(8) + +[Service] +Type=notify +Environment=LANG=C + +ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND +ExecReload=/usr/sbin/httpd $OPTIONS -k graceful +# Send SIGWINCH for graceful stop +KillSignal=SIGWINCH +KillMode=mixed +PrivateTmp=true + +[Install] +WantedBy=multi-user.target |