Skip to Content
Browse documentation

eenostaskd — Command Reference

Start or stop named background tasks used by Eenos administration.

Start or stop named background tasks used by Eenos administration.

Requirements

Run as root on the Eenos server. Use a supported task token with the exact delimiter grammar. Several legacy tasks construct shell strings; do not pass untrusted values. Prefer the direct documented tool when diagnosing an operation.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/eenostaskd start rebuildallvhosts

Arguments and options

SyntaxMeaning
start TASKStart a supported task in the background.
stop TASKRequest stopping the corresponding task; does not undo its work.

This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.

Operational effects

Dispatches operational background commands using task-specific PID files. Tasks include configuration rebuilds, certificate requests, password resets, package actions, account suspension/removal and recursive directory deletion. Stop is not rollback.

Supported task tokens

SyntaxMeaning
rebuildallvhostsRebuild all virtual hosts.
nginxcachepurgePurge all Nginx cache.
olscachepurgePurge all OpenLiteSpeed cache.
autossl=DOMAINRequest domain AutoSSL.
autossluser=USERRequest account-wide AutoSSL.
resetmysqlrpReset MySQL root password.
resetpgpwdReset PostgreSQL administrative password.
runeximqueueAttempt queued Exim delivery.
resetmongopwdReset MongoDB administrative password.
avscan=USERScan and quarantine detections.
delbfolder=PATHRecursively delete a directory; destructive.
sandbox_python_install=DOMAIN,PYTHONInstall a Python sandbox.
sandbox_python_remove=DOMAINRemove a Python sandbox.
sandbox_python_reinstall=DOMAINReinstall a Python sandbox.
pip_install=DOMAIN:PACKAGESInstall Python packages.
pip_remove=DOMAIN:PACKAGESRemove Python packages.
sandbox_nodejs_install=DOMAIN,NODEJSInstall a Node.js sandbox.
sandbox_nodejs_remove=DOMAINRemove a Node.js sandbox.
sandbox_nodejs_reinstall=DOMAINReinstall a Node.js sandbox.
npm_setup=DOMAIN:ACTION:PACKAGESRun the NPM action; both colon separators are required.
sandbox_ruby_install=DOMAIN,RUBYInstall a Ruby sandbox.
sandbox_ruby_install_app=DOMAIN,RUBYInstall a Ruby sandbox with a demo Rails app.
sandbox_ruby_reinstall=DOMAINReinstall a Ruby sandbox.
sandbox_ruby_remove=DOMAINRemove a Ruby sandbox.
gem_setup=DOMAIN:ACTION:GEMSRun the gem action.
suspend_user=USERS:REASONSuspend comma-separated hosting users.
suspend_reseller=RESELLERS:REASONSuspend resellers and sub-accounts.
user_unsuspend=USERSUnsuspend comma-separated hosting users.
reseller_unsuspend=RESELLERSUnsuspend reseller scopes.
remove_user=USERSTerminate comma-separated hosting users; destructive.
remove_reseller=RESELLERSTerminate reseller scopes; destructive.

Quote a task token as one argument when a reason or package list contains spaces. Task payloads can be destructive and are not a general-purpose shell API.

Verify the result

Check the underlying task's logs and actual result. A background launch is not completion.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Administration & Internal Tools · All command-line tools