Port from sysV rc script based to systemd based
authorYin Kangkai <kangkai.yin@intel.com>
Fri, 27 Jul 2012 02:19:04 +0000 (10:19 +0800)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 5 Dec 2012 15:49:02 +0000 (16:49 +0100)
commitd911657f29c4bcf0bc7df94f4471c40705f91b01
treea0a4ddfb199b2eb5857f0268020587fe3ebffa4b
parent2858d54dbf3beb03dfbec4c717d8260dcca4522b
Port from sysV rc script based to systemd based

To port to systemd based, these changes made:

1. config/* remove all the extra "export" keyword, since "EnvironmentFile" in
   systemd does not need that;
2. Remove the run-chg-ani.in and its link in rc2, we will babysit
   charging-animation by systemd.
3. Add charging-mode.service and charging-mode.target, also create a link of
   charging-mode.service in charging-mode.target.wants

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
[Polishes and fixes]
4. We will keep all the sysV rc srcripts;
5. Separate platform specific environment variables into
   /etc/sysconfig/charging-animation;
Signed-off-by: Jacek Migacz <j.migacz@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
config/common.cfg
config/tizen.cfg
packaging/charging-animation.changes [new file with mode: 0644]
packaging/charging-animation.spec
packaging/charging-mode.service [new file with mode: 0644]
packaging/charging-mode.target [new file with mode: 0644]
run-chg-ani.in