'/etc/init.d/elasticsearch' actually source '/etc/default/elasticsearch' in which all variables are commented... and so does START_DAEMON.
I commented the test line in /etc/init.d/elasticsearch to fix this silly issue. Then "systemctl daemon-reload" and restart. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1529941 Title: Elasticsearch init scripts fails test silently To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1529941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs