Error Installing on Centos 7.4
rocketme opened this issue · 1 comments
Do you wish to have FlowBAT start on boot in the background? [y/n] y
cp: unable to create normal file "/etc/init/": not a directory
To manually run FlowBAT, cd to /root/FlowBAT and run:
meteor --port 1800 run --settings settings/dev.json "$@"
or to run FlowBAT in the background:
nohup meteor --port 1800 run --settings settings/dev.json "$@" &
It seems that the installation shell script do not work well on Centos 7.4.
sudo cat > flowbat.service << "EOF"
[Unit]
Description=FlowBAT
After=network.target
[Service]
User=FlowBAT
Type=simple
WorkingDirectory=/home/FlowBAT/FlowBAT
ExecStart=/usr/local/bin/meteor --port 1800 run --settings /home/FlowBAT/FlowBAT/settings/dev.json
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
EOF
cp flowbat.service /etc/systemd/system/
systemctl enable flowbat