blob: 5f22257877d73cce9e65cf6699e5373581181a28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=Haoop resource manager server
[Service]
Type=forking
User=hadoop
Group=hadoop
EnvironmentFile=/etc/conf.d/hadoop
ExecStart=/usr/bin/yarn --daemon start resourcemanager
ExecStop=/usr/bin/yarn --daemon stop resourcemanager
Restart=on-abnormal
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target
|