Fixed rescue ConditionPathExists flag
While looking at some logs, I discovered that systemd was now erroring about the ConditionPathExists parameter. It appears that belongs in unit instead. As such, moving. Error: systemd[1]: /usr/lib/systemd/system/ironic-python-agent.service:6: Unknown key name 'ConditionPathExists' in section 'Service', ignoring. Change-Id: Ifc2b2cbde939d9d9b9fec4e9a5f548e5420650a2 Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
[Unit]
|
||||
Description=Ironic Python Agent
|
||||
After=network-online.target
|
||||
ConditionPathExists=!/etc/.rescued
|
||||
|
||||
[Service]
|
||||
ConditionPathExists=!/etc/.rescued
|
||||
ExecStartPre=/sbin/modprobe vfat
|
||||
ExecStart=/usr/local/bin/ironic-python-agent --config-dir /etc/ironic-python-agent.d/
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user