aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-09-20 13:22:32 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-09-23 15:20:04 +0200
commit53c65afa1508cfc89ff3c38909ad1a956a57c28f (patch)
tree714c53891a0f7da25f06e40cf6c91bf82241b1c1 /systemd
parent363999c2255fd41d1548956d9ca04c0655ffabdb (diff)
downloadinitscripts-53c65afa1508cfc89ff3c38909ad1a956a57c28f.tar
initscripts-53c65afa1508cfc89ff3c38909ad1a956a57c28f.tar.gz
initscripts-53c65afa1508cfc89ff3c38909ad1a956a57c28f.tar.bz2
initscripts-53c65afa1508cfc89ff3c38909ad1a956a57c28f.tar.xz
initscripts-53c65afa1508cfc89ff3c38909ad1a956a57c28f.zip
brandbot: tool to write branding to /etc/os-release (#1009947)
Diffstat (limited to 'systemd')
-rw-r--r--systemd/system/brandbot.path9
-rw-r--r--systemd/system/brandbot.service6
2 files changed, 15 insertions, 0 deletions
diff --git a/systemd/system/brandbot.path b/systemd/system/brandbot.path
new file mode 100644
index 00000000..b3d5fca5
--- /dev/null
+++ b/systemd/system/brandbot.path
@@ -0,0 +1,9 @@
+[Unit]
+Description=Flexible branding
+
+[Path]
+PathExists=/var/lib/rhsm/branded_name
+PathChanged=/var/lib/rhsm/branded_name
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd/system/brandbot.service b/systemd/system/brandbot.service
new file mode 100644
index 00000000..9b421b69
--- /dev/null
+++ b/systemd/system/brandbot.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Flexible Branding Service
+
+[Service]
+ExecStart=/usr/sbin/brandbot
+PrivateTmp=true