如何将 init 脚本转换为 systemd 单元文件
Issue
- 我们有适用于 Red Hat Enterprise Linux 6 及更早版本的 init 脚本,希望将其转换为 systemd 单元文件,以便在 Red Hat Enterprise Linux 7 及更新的版本中工作。
- 如何将 init 脚本转换为 systemd 单元文件?
- 我希望修改我的自定义 init 脚本使其可以与 systemd 兼容
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.