Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-config / files / 0003-sysinv-agent-remove-legacy-pid-directory.patch
1 diff --git a/sysinv/sysinv-agent/sysinv-agent.conf b/sysinv/sysinv-agent/sysinv-agent.conf
2 index 46afac67b..aad37576c 100644
3 --- a/sysinv/sysinv-agent/sysinv-agent.conf
4 +++ b/sysinv/sysinv-agent/sysinv-agent.conf
5 @@ -1,6 +1,6 @@
6  [process]
7  process  = sysinv-agent
8 -pidfile  = /var/run/sysinv-agent.pid
9 +pidfile  = /run/sysinv-agent.pid
10  script   = /etc/init.d/sysinv-agent
11  style    = lsb            ; ocf or lsb
12  severity = major          ; minor, major, critical
13 diff --git a/sysinv/sysinv-agent/sysinv-agent.service b/sysinv/sysinv-agent/sysinv-agent.service
14 index cb8663f68..37c2c221e 100644
15 --- a/sysinv/sysinv-agent/sysinv-agent.service
16 +++ b/sysinv/sysinv-agent/sysinv-agent.service
17 @@ -9,7 +9,7 @@ Type=forking
18  RemainAfterExit=yes
19  ExecStart=/etc/init.d/sysinv-agent start
20  ExecStop=/etc/init.d/sysinv-agent stop
21 -PIDFile=/var/run/sysinv-agent.pid
22 +PIDFile=/run/sysinv-agent.pid
23  
24  [Install]
25  WantedBy=multi-user.target