From f401e48c2db22ff9d1a05885b5599bebf19c2707 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 15 Jun 2011 15:37:39 +0200 Subject: mechanisms: add mechanisms to change system locale and clock --- units/.gitignore | 2 ++ units/systemd-localed.service.in | 17 +++++++++++++++++ units/systemd-timedated.service.in | 17 +++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 units/systemd-localed.service.in create mode 100644 units/systemd-timedated.service.in (limited to 'units') 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 -- cgit v1.2.3-54-g00ecf