diff options
author | David Runge <dave@sleepmap.de> | 2015-03-20 01:07:55 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-03-20 01:07:55 +0100 |
commit | 7054dc69613f47d2b68dbca06f4895fe52412f7c (patch) | |
tree | 98ae005be114e410c1739c80febd493bc0402f9b /system/backup-mariadb.service | |
parent | c10efa7645f9f135b0a8513eeb69cb9d162d1728 (diff) | |
download | crypted-backups-7054dc69613f47d2b68dbca06f4895fe52412f7c.tar.gz crypted-backups-7054dc69613f47d2b68dbca06f4895fe52412f7c.tar.bz2 crypted-backups-7054dc69613f47d2b68dbca06f4895fe52412f7c.tar.xz crypted-backups-7054dc69613f47d2b68dbca06f4895fe52412f7c.zip |
backup-mariadb: Adding first version of backup-mariadb script, service and timer.
Diffstat (limited to 'system/backup-mariadb.service')
-rw-r--r-- | system/backup-mariadb.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/backup-mariadb.service b/system/backup-mariadb.service new file mode 100644 index 0000000..8aa6622 --- /dev/null +++ b/system/backup-mariadb.service @@ -0,0 +1,12 @@ +[Unit] +Description=Backup MariaDB databases +ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-mariadb +ConditionFileIsExecutable=/usr/bin/mysql + +[Service] +EnvironmentFile=/etc/backup-settings +Nice=19 +IOSchedulingClass=2 +IOSchedulingPriority=7 +ExecStart=/usr/lib/systemd/scripts/backup-mariadb + |