systemd下的服务配置 systemd/xxx.service将此文件复制到/usr/lib/systemd/system/目录赋予可执行权限,chmod +x xxx.service 启动服务:systemctl start xxx.service…