Command line
xinginx [-?hvVtTq] [-s signal] [-p prefix]
[-e file] [-c file] [-g directives] [file]| Option | Effect |
|---|---|
-c file | Read this configuration file. Default: /etc/xinginx/xinginx.conf. |
-p prefix | Set the prefix for relative paths. |
-t | Check configuration and referenced resources, then exit. |
-T | Check configuration and print the expanded configuration. |
-q | Suppress successful configuration-test messages. |
-g directives | Add directives at main scope. |
-e file | Set the default error-log destination. Use stderr for the terminal. |
-s reload | Reload configuration on the running master. |
-s reopen | Reopen log files. |
-s quit | Shut down gracefully. |
-s stop | Stop immediately. |
-v | Print the version. |
-V | Print version and build information. |
-h, -? | Print help. |
Check & reload
xinginx -t -c /etc/xinginx/xinginx.conf
xinginx -s reload -c /etc/xinginx/xinginx.confUse the running instance’s prefix and configuration when sending signals. Configuration checks exit with status 0 on success and a nonzero status on failure.