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>
15 lines
301 B
Desktop File
15 lines
301 B
Desktop File
[Unit]
|
|
Description=Ironic Python Agent
|
|
After=network-online.target
|
|
ConditionPathExists=!/etc/.rescued
|
|
|
|
[Service]
|
|
ExecStartPre=/sbin/modprobe vfat
|
|
ExecStart=/usr/local/bin/ironic-python-agent --config-dir /etc/ironic-python-agent.d/
|
|
Restart=always
|
|
RestartSec=30s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|