summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-15 15:37:39 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-21 19:29:45 +0200
commitf401e48c2db22ff9d1a05885b5599bebf19c2707 (patch)
tree4d5539b34a5e4d207abb96f9531a0d4e86edf659 /units
parent34ca941cec76bbfdfd02c705b76bc1b53ea2bcd1 (diff)
mechanisms: add mechanisms to change system locale and clock
Diffstat (limited to 'units')
-rw-r--r--units/.gitignore2
-rw-r--r--units/systemd-localed.service.in17
-rw-r--r--units/systemd-timedated.service.in17
3 files changed, 36 insertions, 0 deletions
diff --git a/units/.gitignore b/units/.gitignore
index f969466bd7..9634440955 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -1,3 +1,5 @@
+systemd-localed.service
+systemd-timedated.service
systemd-hostnamed.service
console-shell.service
systemd-sysctl.service
diff --git a/units/systemd-localed.service.in b/units/systemd-localed.service.in
new file mode 100644
index 0000000000..4be65df75d
--- /dev/null
+++ b/units/systemd-localed.service.in
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Locale Service
+
+[Service]
+ExecStart=@rootlibexecdir@/systemd-localed
+Type=dbus
+BusName=org.freedesktop.locale1
+CapabilityBoundingSet=
diff --git a/units/systemd-timedated.service.in b/units/systemd-timedated.service.in
new file mode 100644
index 0000000000..90ff4432ba
--- /dev/null
+++ b/units/systemd-timedated.service.in
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Time & Date Service
+
+[Service]
+ExecStart=@rootlibexecdir@/systemd-timedated
+Type=dbus
+BusName=org.freedesktop.timedate1
+CapabilityBoundingSet=CAP_SYS_TIME