Blame SOURCES/insights-unregistered.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-unregistered.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 check if manually Unregistered from Red Hat Insights Client
dfd011
Documentation=man:insights-client(8)
dfd011
After=network-online.target
dfd011
ConditionPathExists=@sysconfdir@/insights-client/.unregistered
dfd011
dfd011
[Service]
dfd011
Type=simple
dfd011
ExecStart=/bin/systemctl unmask --now insights-register.path
dfd011
ExecStop=/bin/systemctl start insights-register.path
dfd011
Restart=no