hadoop/hadoop-httpfs.service
2013-08-20 16:06:04 -04:00

18 lines
385 B
Desktop File

[Unit]
Description=The Hadoop httpfs daemon
After=network.target
After=NetworkManager.target
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/hadoop-httpfs
ExecStart=/usr/sbin/httpfs.sh start
ExecStop=/usr/sbin/httpfs.sh stop
User=httpfs
Group=httpfs
PIDFile=/var/run/hadoop-httpfs/hadoop-httpfs.pid
ControlGroup=cpu:/hadoop memory:/hadoop
[Install]
WantedBy=multi-user.target