Guest User

Untitled

a guest
Oct 24th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. [Unit]
  2. Description=Hadoop start/stop
  3.  
  4. [Service]
  5. User=hadoop
  6. Group=hadoop
  7. Type=oneshot
  8. ExecStart=/opt/hadoop/hadoop-service.sh start
  9. ExecStop=/opt/hadoop/hadoop-service.sh stop
  10. RemainAfterExit=yes
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment