aboutsummaryrefslogtreecommitdiffstats
path: root/system/backup-websites.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-20 01:32:42 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-20 01:32:42 +0100
commitfd3b4a68b7ba29e77a3147f8e5fced19eeb294d4 (patch)
tree3b5defaf2962d876408ed576c5a8bc708ff4b4f5 /system/backup-websites.service
parent5173d02e1fc5b4de0f6e315272d9011ffa13194b (diff)
downloadcrypted-backups-fd3b4a68b7ba29e77a3147f8e5fced19eeb294d4.tar.gz
crypted-backups-fd3b4a68b7ba29e77a3147f8e5fced19eeb294d4.tar.bz2
crypted-backups-fd3b4a68b7ba29e77a3147f8e5fced19eeb294d4.tar.xz
crypted-backups-fd3b4a68b7ba29e77a3147f8e5fced19eeb294d4.zip
backup-websites: Adding first version of backup-websites script, service and timer.
Diffstat (limited to 'system/backup-websites.service')
-rw-r--r--system/backup-websites.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/backup-websites.service b/system/backup-websites.service
new file mode 100644
index 0000000..c350b21
--- /dev/null
+++ b/system/backup-websites.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Backup Websites
+ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-websites
+
+[Service]
+EnvironmentFile=/etc/backup-settings
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStart=/usr/lib/systemd/scripts/backup-websites
+