Blame SOURCES/insights-unregistered.service.in

d7f5d3
# This file is part of insights-client.
d7f5d3
#
d7f5d3
# Any changes made to this file will be overwritten during a software update. To
d7f5d3
# override a parameter in this file, create a drop-in file, typically located at
d7f5d3
# /etc/systemd/system/insights-unregistered.service.d/override.conf. Put the
d7f5d3
# desired overrides in that file and reload systemd. The next time this service
d7f5d3
# is run (either manually or via a systemd timer), the overridden values will be
d7f5d3
# in effect.
d7f5d3
#
d7f5d3
# For more information about systemd drop-in files, see systemd.unit(5).
d7f5d3
d7f5d3
[Unit]
d7f5d3
Description=Automatically check if manually Unregistered from Red Hat Insights Client
d7f5d3
Documentation=man:insights-client(8)
d7f5d3
After=network-online.target
d7f5d3
ConditionPathExists=@sysconfdir@/insights-client/.unregistered
d7f5d3
d7f5d3
[Service]
d7f5d3
Type=simple
d7f5d3
ExecStart=/bin/systemctl unmask --now insights-register.path
d7f5d3
ExecStop=/bin/systemctl start insights-register.path
d7f5d3
Restart=no