1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Haoop job history server [Service] User=hadoop Group=hadoop EnvironmentFile=/etc/conf.d/hadoop ExecStart=/usr/bin/mapred historyserver Restart=on-abnormal SuccessExitStatus=143 [Install] WantedBy=multi-user.target