原因:systemctl执行脚本时需要知道脚本的解释器

解决方法:在脚本的开头加上#!/bin/sh

参考:https://blog.csdn.net/shangyexin/article/details/80968202

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-02-03
猜你喜欢
  • 2021-11-25
  • 2021-04-15
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案