Blame SOURCES/insights-unregistered.service.in

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