xin

Command line

xinginx [-?hvVtTq] [-s signal] [-p prefix]
    [-e file] [-c file] [-g directives] [file]
OptionEffect
-c fileRead this configuration file. Default: /etc/xinginx/xinginx.conf.
-p prefixSet the prefix for relative paths.
-tCheck configuration and referenced resources, then exit.
-TCheck configuration and print the expanded configuration.
-qSuppress successful configuration-test messages.
-g directivesAdd directives at main scope.
-e fileSet the default error-log destination. Use stderr for the terminal.
-s reloadReload configuration on the running master.
-s reopenReopen log files.
-s quitShut down gracefully.
-s stopStop immediately.
-vPrint the version.
-VPrint version and build information.
-h, -?Print help.

Check & reload

xinginx -t -c /etc/xinginx/xinginx.conf
xinginx -s reload -c /etc/xinginx/xinginx.conf

Use the running instance’s prefix and configuration when sending signals. Configuration checks exit with status 0 on success and a nonzero status on failure.