Blame SOURCES/insights-unregistered.service.in

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