httpd
Switches the web server in use to Apache HTTPD. It will also restart the service.
Example
kusanagi httpd --use httpd24
kusanagi httpd
Options
(No options)
If you are using nginx, it will switch to httpd.
If httpd is already running, it will restart httpd.
Using Apache httpd
[--use {installed | httpd24}]
Default: installed
Specifies the version of Apache httpd to be used. When this option is specified, the following Apache httpd will start up.
- --use installed: The currently installed Apache httpd
- --use httpd24: Apache httpd2.4
Reloading Configuration
[--reload]
Reloads configuration without disconnecting the session.
Checking Configuration Files
[--test]
Checks the configuration files only.
Output
# kusanagi httpd
Syntax OK
Removed /etc/systemd/system/multi-user.target.wants/nginx.service.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service -> /usr/lib/systemd/system/httpd.service.
httpd completed.