Blame SOURCES/insights-unregistered.service.in

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