Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Hadoop start/stop
- [Service]
- User=hadoop
- Group=hadoop
- Type=oneshot
- ExecStart=/opt/hadoop/hadoop-service.sh start
- ExecStop=/opt/hadoop/hadoop-service.sh stop
- RemainAfterExit=yes
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment