Blame SOURCES/insights-unregister.service.in

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