添加系统服务简例
ln -s /usr/local/nexus/bin/nexus /etc/init.d/nexus
cd /etc/init.d
chkconfig --add nexus
chkconfig --levels 345 nexus on
systemctl start nexus
systemctl status nexus
添加系统服务简例
ln -s /usr/local/nexus/bin/nexus /etc/init.d/nexus
cd /etc/init.d
chkconfig --add nexus
chkconfig --levels 345 nexus on
systemctl start nexus
systemctl status nexus