diff options
author | David Runge <dave@sleepmap.de> | 2015-04-27 19:09:22 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-04-27 19:09:22 +0200 |
commit | dce0f43698fa6271234a46d5c6a7cdc7eed33264 (patch) | |
tree | 3f25560334300a5dcaf30e3e5215b07492646bea /system/backup-mysql.service | |
parent | 6337a5ff642de5692f17d1010d2a2934b6942a7c (diff) | |
download | crypted-backups-dce0f43698fa6271234a46d5c6a7cdc7eed33264.tar.gz crypted-backups-dce0f43698fa6271234a46d5c6a7cdc7eed33264.tar.bz2 crypted-backups-dce0f43698fa6271234a46d5c6a7cdc7eed33264.tar.xz crypted-backups-dce0f43698fa6271234a46d5c6a7cdc7eed33264.zip |
Clarifying Description of all units. Generalizing backup-mariadb.* to backup-mysql.*
Diffstat (limited to 'system/backup-mysql.service')
-rw-r--r-- | system/backup-mysql.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/backup-mysql.service b/system/backup-mysql.service new file mode 100644 index 0000000..c676839 --- /dev/null +++ b/system/backup-mysql.service @@ -0,0 +1,12 @@ +[Unit] +Description=Backup MySQL 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 + |