systemd で管理するサービスに対して環境変数を追加または変更する

Solution In Progress - Updated -

Issue

  • /etc/sysconfig/ ディレクトリーのファイルからの環境設定の設定をサポートしないサービスに対し、 環境変数を追加または変更するには
  • systemd で管理する postgresql に対して PGDATA または PGPORT などの環境変数を設定または変更するには
  • systemd でユニットファイルをカスタマイズしたり、カスタムユニットを追加するには

Environment

Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.