Blob Blame History Raw
# This file is part of insights-client.
#
# Any changes made to this file will be overwritten during a software update. To
# override a parameter in this file, create a drop-in file, typically located at
# /etc/systemd/system/insights-unregister.service.d/override.conf. Put the
# desired overrides in that file and reload systemd. The next time this service
# is run (either manually or via a systemd timer), the overridden values will be
# in effect.
#
# For more information about systemd drop-in files, see systemd.unit(5).

[Unit]
Description=Automatically Unregister from Red Hat Insights
Documentation=man:insights-client(8)
After=network-online.target
ConditionPathExists=!@sysconfdir@/pki/consumer/cert.pem

[Service]
Type=simple
ExecStart=@bindir@/insights-client --unregister --force
Restart=no