Blame SOURCES/insights-unregister.service.in

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