Blame SOURCES/insights-unregister.service.in

d7f5d3
# This file is part of insights-client.
d7f5d3
#
d7f5d3
# Any changes made to this file will be overwritten during a software update. To
d7f5d3
# override a parameter in this file, create a drop-in file, typically located at
d7f5d3
# /etc/systemd/system/insights-unregister.service.d/override.conf. Put the
d7f5d3
# desired overrides in that file and reload systemd. The next time this service
d7f5d3
# is run (either manually or via a systemd timer), the overridden values will be
d7f5d3
# in effect.
d7f5d3
#
d7f5d3
# For more information about systemd drop-in files, see systemd.unit(5).
d7f5d3
d7f5d3
[Unit]
d7f5d3
Description=Automatically Unregister from Red Hat Insights
d7f5d3
Documentation=man:insights-client(8)
d7f5d3
After=network-online.target
d7f5d3
ConditionPathExists=!@sysconfdir@/pki/consumer/cert.pem
d7f5d3
d7f5d3
[Service]
d7f5d3
Type=simple
d7f5d3
ExecStart=@bindir@/insights-client --unregister --force
d7f5d3
Restart=no