Blame SOURCES/insights-unregister.service.in

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