Skip to content

Commit

Permalink
iml-storage-server.target preset not called (#90)
Browse files Browse the repository at this point in the history
Fixes #89.

In https://github.com/whamcloud/iml-agent/blob/0840c911bbe63e493082469782af849d74736a87/python-iml-agent.spec#L145

We call preset on `chroma-agent.service`.

We also need to call it on `iml-storage-server.target`

Signed-off-by: Joe Grund <[email protected]>
  • Loading branch information
jgrund authored Apr 25, 2019
1 parent 0840c91 commit 5ebcfe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python-iml-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ setenforce 0

rm -f /var/lib/iml/zfs_store.json

systemctl preset %{unit_name} >/dev/null 2>&1
systemctl preset iml-storage-server.target
systemctl preset %{unit_name}

# this will either convert an old (pre-4.1) config or initialize
chroma-agent convert_agent_config
Expand Down

0 comments on commit 5ebcfe9

Please sign in to comment.