General service information
wfmanager to control services
There is a small utility called wfmanager aimed to facilitate the management of WorkFusion applications. Log in as <WF_USER> and run the wfmanager command to use the utility:
## Will show status of all applications
wfmanager status
## Start, stop, restart individual services
wfmanager start nginx
wfmanager restart nginx
wfmanager stop nginx
## Show log tail of an application
wfmanager tail nginx
## Start, stop, restart all at once
wfmanager start all
wfmanager restart all
wfmanager stop all
## Show status and start an interactive console.
## The console enables the user to run all the same commands without typing `wfmanager` every time.
wfmanager
note
There is a special fake service named start-all. It is used to autostart applications after (re)boot. There is no need to control it manually.
Ansible installer logs
Installation logs are stored at <PACKAGE_DIR>/logs in the following format:
install_flat:{ operation }_%year%month%day%hour%minute
For example:
ls -1 <PACKAGE_DIR>/logs
install_flat:precheck_1801311305
install_flat:preinstall_1801311306
install_flat:install_1801311307
install_flat:check_1801311327
Check logs
The logs for each individual application are stored as follows (for application's stdout and stderr messages respectively):
<INSTALL_DIR>/supervisord/log/<APP_NAME>.out.log
<INSTALL_DIR>/supervisord/log/<APP_NAME>.err.log