Add systemd units for running Snapper scripts 89/6089/1
authorWilliam Douglas <william.douglas@intel.com>
Fri, 14 Jun 2013 20:43:52 +0000 (13:43 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Mon, 29 Jul 2013 18:28:40 +0000 (11:28 -0700)
commit8c5c88f7b129863ec168e4e4ea300868a01087bd
treeb35f66ef6e056b089d584bd8f8ab7a54c80ef083
parent4b0e0c42e893d5b15487407b9aa08231437c6212
Add systemd units for running Snapper scripts

Snapper uses cron jobs to schedule hourly and daily snapshot creation
and cleanup scripts. Instead of using cron, Tizen should use systemd
timer units in order to manage these jobs.

Updating: The spec file for Snapper has an obsolete file
(/etc/sysconfig/snapper) that needs to be replaced for this to work
correctly. As the file is intended to be updated manually I have
decided that users who are updating rather than reinstalling should
add the 'SNAPPER_CONFIGS="root"' line to their /etc/sysconfig/snapper
file themselves if they want to make use of this feature.

Signed-off-by: William Douglas <william.douglas@intel.com>
data/snapper-daily.service [new file with mode: 0644]
data/snapper-daily.timer [new file with mode: 0644]
data/snapper-hourly.service [new file with mode: 0644]
data/snapper-hourly.timer [new file with mode: 0644]
data/sysconfig.snapper
packaging/snapper.spec