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