From dce0f43698fa6271234a46d5c6a7cdc7eed33264 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 27 Apr 2015 19:09:22 +0200 Subject: Clarifying Description of all units. Generalizing backup-mariadb.* to backup-mysql.* --- system/backup-mysql.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 system/backup-mysql.service (limited to 'system/backup-mysql.service') 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 + -- cgit v1.2.3-70-g09d2