Last active
October 23, 2017 21:04
-
-
Save JoeyAndres/02a96b6d6b2548816887befe98e7a405 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment