Advertisement
Light1992

Lancio ElasticSearch

May 27th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1.  
  2. #!/bin/bash
  3. # THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
  4. #
  5. # It is highly advisable to create own systemd services or udev rules
  6. # to run scripts during boot instead of using this file.
  7. #
  8. # In contrast to previous versions due to parallel execution during boot
  9. # this script will NOT be run after all other services.
  10. #
  11. # Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
  12. # that this script will be executed during boot.
  13.  
  14. touch /var/lock/subsys/local
  15.  
  16. # Lancio automatico di ElasticSearch
  17.  
  18. systemctl enable elasticsearch.service
  19. systemctl start elasticsearch.service
  20. npm start --prefix /var/www/html/jbrowse/plugins/ElasticSearch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement