Project

General

Profile

Actions

Bug #8701

closed

EL7 foreman-proxy.service typo in unit file

Added by Florian Koch about 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Packaging
Target version:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

i version 2.0.0 there is a typo in the Foreman-Proxy unit is missing /var in the PidFile Path, the installer fail to start the service

original unit

[Unit]
Description=Foreman Proxy
Wants=basic.target
After=basic.target network.target

[Service]
Type=forking
User=foreman-proxy
ExecStart=/usr/share/foreman-proxy/bin/smart-proxy
PIDFile=/run/foreman-proxy/foreman-proxy.pid

[Install]

correct unit

[Unit]
Description=Foreman Proxy
Wants=basic.target
After=basic.target network.target

[Service]
Type=forking
User=foreman-proxy
ExecStart=/usr/share/foreman-proxy/bin/smart-proxy
PIDFile=/var/run/foreman-proxy/foreman-proxy.pid
Actions

Also available in: Atom PDF