In this release we will push an update to the hypernode-servicectl command-line tool that will make it so that the app user is now also privileged to restart the Elasticsearch service. The new option will appear when you have Elasticsearch enabled on your node.


app@wifawm-hypernode-magweb-cmbl:~$ hypernode-servicectl --help
usage: hypernode-servicectl [-h] [--version] [action] [service [service ...]]

Control Hypernode services

positional arguments:
  action      desired action on services (restart|reload)
  service     target service, (elasticsearch|mysql|nginx|php7.2-fpm|redis-server)

optional arguments:
  -h, --help  show this help message and exit
  --version   show program's version number and exit

To restart Elasticsearch on your Hypernode run:


app@wifawm-hypernode-magweb-cmbl:~$ systemctl status elasticsearch | grep Active
   Active: active (running) since Thu 2019-03-21 10:20:47 UTC; 1min 20s ago

app@wifawm-hypernode-magweb-cmbl:~$ hypernode-servicectl restart elasticsearch

app@wifawm-hypernode-magweb-cmbl:~$ systemctl status elasticsearch | grep Active
   Active: active (running) since Thu 2019-03-21 10:22:13 UTC; 1s ago