Blame SOURCES/insights-unregistered.service.in

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