13,002
回編集
タグ: 手動差し戻し ビジュアルエディター |
|||
123行目: | 123行目: | ||
#EnvironmentFile=/<Apache2の設定ファイルがあるディレクトリ>/conf/httpd.conf | #EnvironmentFile=/<Apache2の設定ファイルがあるディレクトリ>/conf/httpd.conf | ||
#Environment=LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib:/usr/local/lib64:/usr/lib | #Environment=LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib:/usr/local/lib64:/usr/lib | ||
ExecStart=/<Apache2のインストールディレクトリ>/bin/apachectl start | ExecStart=/<Apache2のインストールディレクトリ>/bin/apachectl -k start | ||
ExecReload=/<Apache2のインストールディレクトリ>/bin/apachectl graceful | ExecReload=/<Apache2のインストールディレクトリ>/bin/apachectl -k graceful | ||
ExecStop=/<Apache2のインストールディレクトリ>/bin/apachectl stop | ExecStop=/<Apache2のインストールディレクトリ>/bin/apachectl -k stop | ||
#ExecStart=/<Apache2のインストールディレクトリ>/bin/httpd \$OPTIONS -DFOREGROUND | #ExecStart=/<Apache2のインストールディレクトリ>/bin/httpd \$OPTIONS -DFOREGROUND | ||
134行目: | 134行目: | ||
# Normally, Systemd sends SIGTERM signal right after the ExecStop, which would kill httpd. We are sending useless SIGCONT here to give httpd time to finish. | # Normally, Systemd sends SIGTERM signal right after the ExecStop, which would kill httpd. We are sending useless SIGCONT here to give httpd time to finish. | ||
#KillSignal=SIGCONT | #KillSignal=SIGCONT | ||
PrivateTmp=true | |||
[Install] | [Install] |