Translated message

A translation of this page exists in English.

如何将 init 脚本转换为 systemd 单元文件

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content