1、修改 /etc/rc.d/rc.local 文件 添加执行命令

su - {{ msspoper_user }} /home/{{ msspoper_user }}/{{ dest_dir }}/bin/{{ sh_file.stdout }} start

2、systemctl  设置启动服务

相关文章:

  • 2022-12-23
  • 2021-11-20
  • 2021-10-20
  • 2021-12-05
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-05
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案